@kindgi/api 0.1.5-rc.0 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.js +1 -1
- package/dist/app.js.map +1 -1
- package/dist/cost-binding.d.ts +19 -0
- package/dist/cost-binding.d.ts.map +1 -1
- package/dist/cost-binding.js.map +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +2 -0
- package/dist/errors.js.map +1 -1
- package/dist/middleware/authorize.d.ts +5 -2
- package/dist/middleware/authorize.d.ts.map +1 -1
- package/dist/middleware/authorize.js +10 -1
- package/dist/middleware/authorize.js.map +1 -1
- package/dist/openapi/operations.js +1 -1
- package/dist/openapi/operations.js.map +1 -1
- package/dist/openapi/schemas.js +1 -1
- package/dist/openapi/schemas.js.map +1 -1
- package/dist/publish-refused.d.ts +12 -2
- package/dist/publish-refused.d.ts.map +1 -1
- package/dist/publish-refused.js +6 -0
- package/dist/publish-refused.js.map +1 -1
- package/dist/routes/cost.d.ts +8 -3
- package/dist/routes/cost.d.ts.map +1 -1
- package/dist/routes/cost.js +56 -4
- package/dist/routes/cost.js.map +1 -1
- package/dist/routes/deployments.d.ts +8 -0
- package/dist/routes/deployments.d.ts.map +1 -1
- package/dist/routes/deployments.js +127 -1
- package/dist/routes/deployments.js.map +1 -1
- package/dist/routes/eval-runs.js +4 -1
- package/dist/routes/eval-runs.js.map +1 -1
- package/dist/routes/eval-suites.d.ts.map +1 -1
- package/dist/routes/eval-suites.js +8 -1
- package/dist/routes/eval-suites.js.map +1 -1
- package/dist/routes/memory-access.d.ts.map +1 -1
- package/dist/routes/memory-access.js +18 -33
- package/dist/routes/memory-access.js.map +1 -1
- package/dist/routes/readable-projects.d.ts +26 -0
- package/dist/routes/readable-projects.d.ts.map +1 -0
- package/dist/routes/readable-projects.js +39 -0
- package/dist/routes/readable-projects.js.map +1 -0
- package/openapi.json +3 -2
- package/package.json +21 -21
- package/src/app.ts +1 -1
- package/src/cost-binding.ts +19 -0
- package/src/errors.ts +2 -0
- package/src/middleware/authorize.ts +19 -3
- package/src/openapi/operations.ts +1 -1
- package/src/openapi/schemas.ts +1 -1
- package/src/publish-refused.ts +20 -2
- package/src/routes/cost.ts +81 -4
- package/src/routes/deployments.ts +148 -1
- package/src/routes/eval-runs.ts +3 -0
- package/src/routes/eval-suites.ts +7 -1
- package/src/routes/memory-access.ts +19 -38
- package/src/routes/readable-projects.ts +66 -0
package/dist/openapi/schemas.js
CHANGED
|
@@ -1439,7 +1439,7 @@ export const RetrievalIntentSchema = {
|
|
|
1439
1439
|
scope: {
|
|
1440
1440
|
type: 'string',
|
|
1441
1441
|
enum: ['same-conversation', 'same-user', 'same-segment', 'same-project', 'tenant'],
|
|
1442
|
-
description: "What the intent selects within what the run may see. Facts: this conversation's;
|
|
1442
|
+
description: "What the intent selects within what the run may see. Facts: this conversation's; the run's end user's only (`same-user`: none when the run names no `participantId`); the run's project's (none without a project); or every fact of the type it may see (`tenant`). Conversations: this end user's other conversations with the agent (`same-user`: none when the run names no `participantId`); this conversation's messages older than the history window (`same-conversation`); conversations in the run's segment path (`same-segment`) or its project (`same-project`), whoever had them: those two quote other people's conversations, so publishing warns and their messages are marked as another person's. `same-segment` is for conversations only, `tenant` for facts only.",
|
|
1443
1443
|
},
|
|
1444
1444
|
limit: { type: 'integer', minimum: 1 },
|
|
1445
1445
|
mode: {
|