openvibers/openvibe.ai Commits
AI: developers create projects and read the API reference on openvibe.services (the developer console moved there from openvibe.codes) (#29)
Changes
@@@ -147,7 +147,7 @@ app:app_<ULID>`, `project_id prj_<ULID>`, `env sandbox|production`, ns `[projectapp.<project_id>.*]`, five minutes. AI accepts one capability for it, `ai.app.run` (public). Asandbox app holds it without asking (Network's default sandbox allowance); a production app holds itonce OpenVibe staff add it to the project's allowance. Create the project and its app at--[openvibe.codes/projects](https://openvibe.codes/projects):++[openvibe.services/projects](https://openvibe.services/projects):| Route | What ||---|---|@@@ -155,7 +155,7 @@ function createApp({ config, db, registry, pool, quotas, cache, runs, auth, keys'','Callers authenticate with OpenVibe.Network tokens (audience openvibe.ai): first-party service tokens, or a','developer app\'s token (ai.app.run) on the six direct operations and GET /api/v1/runs/:id.',-- 'Developer apps: https://openvibe.codes/projects',++ 'Developer apps: https://openvibe.services/projects','AI output is a draft/evidence package attributed to a workflow, model and run, never to a person.','','Source: https://github.com/OpenVibers/OpenVibe.AI',@@@ -17,8 +17,8 @@ const appIcon = require('openvibe-shared/app-icon');const SITE_NAME = 'OpenVibe.AI';const NETWORK_URL = 'https://openvibe.network';--const PROJECTS_URL = 'https://openvibe.codes/projects';--const API_DOCS_URL = 'https://openvibe.codes/docs/api';++const PROJECTS_URL = 'https://openvibe.services/projects';++const API_DOCS_URL = 'https://openvibe.services/docs/api';const SOURCE = 'https://github.com/OpenVibers/OpenVibe.AI';const GUIDE = `${SOURCE}#developer-apps`;const DESCRIPTION = 'One API for chat, generation, summaries, classification, extraction and embeddings across many models. '@@@ -87,7 +87,7 @@ function sections({ siteUrl }) {}) + showcase.steps({title: 'Start in four steps',items: [-- { title: 'Create a project', text: 'Sign in at openvibe.codes/projects with your OpenVibe account and create a project.' },++ { title: 'Create a project', text: 'Sign in at openvibe.services/projects with your OpenVibe account and create a project.' },{ title: 'Add an app', text: 'Add an app to it. A confidential app gets a client id and a secret, shown once.' },{ title: 'Get a token', text: 'Exchange them at OpenVibe.Network for a five-minute token with the audience openvibe.ai.' },{ title: 'Call an operation', text: 'POST to /api/v1/chat or any of the other five, and keep the run id to read it later.' },@@@ -29,7 +29,7 @@ t.test('GET / as a browser: the home page, its CSP and a private cache', async (assert.ok(r.text.includes('Many models, one API.'), 'the hero');assert.ok(r.text.includes(`<link rel="canonical" href="${SITE}/">`), 'the canonical public origin');assert.ok(r.text.includes(`${SITE}/api/v1/chat`), 'the examples call the public origin');-- assert.ok(r.text.includes('https://openvibe.codes/projects'), 'where a project and an app are made');++ assert.ok(r.text.includes('https://openvibe.services/projects'), 'where a project and an app are made');assert.ok(!/ai\.openvibe\.network/.test(r.text), 'never the old name');});
@@ -147,7 +147,7 @@ app:app_<ULID>`, `project_id prj_<ULID>`, `env sandbox|production`, ns `[project
@@ -147,7 +147,7 @@ app:app_<ULID>`, `project_id prj_<ULID>`, `env sandbox|production`, ns `[project
app.<project_id>.*]`, five minutes. AI accepts one capability for it, `ai.app.run` (public). A
app.<project_id>.*]`, five minutes. AI accepts one capability for it, `ai.app.run` (public). A
sandbox app holds it without asking (Network's default sandbox allowance); a production app holds it
sandbox app holds it without asking (Network's default sandbox allowance); a production app holds it
once OpenVibe staff add it to the project's allowance. Create the project and its app at
once OpenVibe staff add it to the project's allowance. Create the project and its app at
-[openvibe.codes/projects](https://openvibe.codes/projects):
+[openvibe.services/projects](https://openvibe.services/projects):
| Route | What |
| Route | What |
|---|---|
|---|---|
@@ -155,7 +155,7 @@ function createApp({ config, db, registry, pool, quotas, cache, runs, auth, keys
@@ -155,7 +155,7 @@ function createApp({ config, db, registry, pool, quotas, cache, runs, auth, keys
'',
'',
'Callers authenticate with OpenVibe.Network tokens (audience openvibe.ai): first-party service tokens, or a',
'Callers authenticate with OpenVibe.Network tokens (audience openvibe.ai): first-party service tokens, or a',
'developer app\'s token (ai.app.run) on the six direct operations and GET /api/v1/runs/:id.',
'developer app\'s token (ai.app.run) on the six direct operations and GET /api/v1/runs/:id.',
- 'Developer apps: https://openvibe.codes/projects',
+ 'Developer apps: https://openvibe.services/projects',
'AI output is a draft/evidence package attributed to a workflow, model and run, never to a person.',
'AI output is a draft/evidence package attributed to a workflow, model and run, never to a person.',
'',
'',
'Source: https://github.com/OpenVibers/OpenVibe.AI',
'Source: https://github.com/OpenVibers/OpenVibe.AI',
@@ -17,8 +17,8 @@ const appIcon = require('openvibe-shared/app-icon');
@@ -17,8 +17,8 @@ const appIcon = require('openvibe-shared/app-icon');
const SITE_NAME = 'OpenVibe.AI';
const SITE_NAME = 'OpenVibe.AI';
const NETWORK_URL = 'https://openvibe.network';
const NETWORK_URL = 'https://openvibe.network';
-const PROJECTS_URL = 'https://openvibe.codes/projects';
-const API_DOCS_URL = 'https://openvibe.codes/docs/api';
+const PROJECTS_URL = 'https://openvibe.services/projects';
+const API_DOCS_URL = 'https://openvibe.services/docs/api';
const SOURCE = 'https://github.com/OpenVibers/OpenVibe.AI';
const SOURCE = 'https://github.com/OpenVibers/OpenVibe.AI';
const GUIDE = `${SOURCE}#developer-apps`;
const GUIDE = `${SOURCE}#developer-apps`;
const DESCRIPTION = 'One API for chat, generation, summaries, classification, extraction and embeddings across many models. '
const DESCRIPTION = 'One API for chat, generation, summaries, classification, extraction and embeddings across many models. '
@@ -87,7 +87,7 @@ function sections({ siteUrl }) {
@@ -87,7 +87,7 @@ function sections({ siteUrl }) {
}) + showcase.steps({
}) + showcase.steps({
title: 'Start in four steps',
title: 'Start in four steps',
items: [
items: [
- { title: 'Create a project', text: 'Sign in at openvibe.codes/projects with your OpenVibe account and create a project.' },
+ { title: 'Create a project', text: 'Sign in at openvibe.services/projects with your OpenVibe account and create a project.' },
{ title: 'Add an app', text: 'Add an app to it. A confidential app gets a client id and a secret, shown once.' },
{ title: 'Add an app', text: 'Add an app to it. A confidential app gets a client id and a secret, shown once.' },
{ title: 'Get a token', text: 'Exchange them at OpenVibe.Network for a five-minute token with the audience openvibe.ai.' },
{ title: 'Get a token', text: 'Exchange them at OpenVibe.Network for a five-minute token with the audience openvibe.ai.' },
{ title: 'Call an operation', text: 'POST to /api/v1/chat or any of the other five, and keep the run id to read it later.' },
{ title: 'Call an operation', text: 'POST to /api/v1/chat or any of the other five, and keep the run id to read it later.' },
@@ -29,7 +29,7 @@ t.test('GET / as a browser: the home page, its CSP and a private cache', async (
@@ -29,7 +29,7 @@ t.test('GET / as a browser: the home page, its CSP and a private cache', async (
assert.ok(r.text.includes('Many models, one API.'), 'the hero');
assert.ok(r.text.includes('Many models, one API.'), 'the hero');
assert.ok(r.text.includes(`<link rel="canonical" href="${SITE}/">`), 'the canonical public origin');
assert.ok(r.text.includes(`<link rel="canonical" href="${SITE}/">`), 'the canonical public origin');
assert.ok(r.text.includes(`${SITE}/api/v1/chat`), 'the examples call the public origin');
assert.ok(r.text.includes(`${SITE}/api/v1/chat`), 'the examples call the public origin');
- assert.ok(r.text.includes('https://openvibe.codes/projects'), 'where a project and an app are made');
+ assert.ok(r.text.includes('https://openvibe.services/projects'), 'where a project and an app are made');
assert.ok(!/ai\.openvibe\.network/.test(r.text), 'never the old name');
assert.ok(!/ai\.openvibe\.network/.test(r.text), 'never the old name');
});
});