@marinoscar/kvox-eval 0.0.0-bootstrap → 0.1.0-next.0
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/CHANGELOG.md +14 -0
- package/LICENSE +21 -0
- package/README.md +166 -0
- package/dist/ask/index.d.ts +6 -0
- package/dist/ask/index.js +28 -0
- package/dist/ask/question-schema.d.ts +121 -0
- package/dist/ask/question-schema.js +167 -0
- package/dist/ask/report.d.ts +88 -0
- package/dist/ask/report.js +170 -0
- package/dist/ask/scorer.d.ts +104 -0
- package/dist/ask/scorer.js +164 -0
- package/dist/ask-run/ask-command.d.ts +62 -0
- package/dist/ask-run/ask-command.js +254 -0
- package/dist/ask-run/host/app.d.ts +65 -0
- package/dist/ask-run/host/app.js +146 -0
- package/dist/ask-run/host/db.d.ts +38 -0
- package/dist/ask-run/host/db.js +126 -0
- package/dist/ask-run/host/ports.d.ts +35 -0
- package/dist/ask-run/host/ports.js +113 -0
- package/dist/ask-run/index.d.ts +13 -0
- package/dist/ask-run/index.js +35 -0
- package/dist/ask-run/replay.d.ts +128 -0
- package/dist/ask-run/replay.js +212 -0
- package/dist/ask-run/run-ask-eval.d.ts +125 -0
- package/dist/ask-run/run-ask-eval.js +193 -0
- package/dist/ask-run/seed-golden-graph.d.ts +64 -0
- package/dist/ask-run/seed-golden-graph.js +495 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.js +12 -0
- package/dist/cli/kg-command.d.ts +66 -0
- package/dist/cli/kg-command.js +238 -0
- package/dist/cli/main.d.ts +18 -0
- package/dist/cli/main.js +69 -0
- package/dist/fixtures/domains.d.ts +16 -0
- package/dist/fixtures/domains.js +33 -0
- package/dist/fixtures/fixture-schema.d.ts +323 -0
- package/dist/fixtures/fixture-schema.js +199 -0
- package/dist/fixtures/index.d.ts +16 -0
- package/dist/fixtures/index.js +40 -0
- package/dist/fixtures/load.d.ts +73 -0
- package/dist/fixtures/load.js +137 -0
- package/dist/fixtures/questions.d.ts +15 -0
- package/dist/fixtures/questions.js +26 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +36 -0
- package/dist/kg/gold-runner.d.ts +13 -0
- package/dist/kg/gold-runner.js +57 -0
- package/dist/kg/index.d.ts +17 -0
- package/dist/kg/index.js +65 -0
- package/dist/kg/internals.d.ts +7 -0
- package/dist/kg/internals.js +17 -0
- package/dist/kg/prediction-schema.d.ts +245 -0
- package/dist/kg/prediction-schema.js +102 -0
- package/dist/kg/predictions.d.ts +11 -0
- package/dist/kg/predictions.js +49 -0
- package/dist/kg/report.d.ts +84 -0
- package/dist/kg/report.js +125 -0
- package/dist/kg/run-kg-eval.d.ts +77 -0
- package/dist/kg/run-kg-eval.js +137 -0
- package/dist/kg/runner.d.ts +72 -0
- package/dist/kg/runner.js +51 -0
- package/dist/kg/runners/extract-resolve-runner.d.ts +40 -0
- package/dist/kg/runners/extract-resolve-runner.js +199 -0
- package/dist/kg/runners/extract-runner.d.ts +65 -0
- package/dist/kg/runners/extract-runner.js +243 -0
- package/dist/kg/scorer.d.ts +226 -0
- package/dist/kg/scorer.js +463 -0
- package/dist/kg/targets.d.ts +17 -0
- package/dist/kg/targets.js +16 -0
- package/dist/kg/text.d.ts +45 -0
- package/dist/kg/text.js +100 -0
- package/dist/live/adapters.d.ts +16 -0
- package/dist/live/adapters.js +58 -0
- package/dist/live/env.d.ts +39 -0
- package/dist/live/env.js +56 -0
- package/dist/live/index.d.ts +6 -0
- package/dist/live/index.js +16 -0
- package/dist/live/live-ai.d.ts +104 -0
- package/dist/live/live-ai.js +157 -0
- package/dist/parity/constants.d.ts +79 -0
- package/dist/parity/constants.js +104 -0
- package/dist/parity/index.d.ts +20 -0
- package/dist/parity/index.js +38 -0
- package/dist/parity/internals.d.ts +8 -0
- package/dist/parity/internals.js +16 -0
- package/dist/parity/scenario.d.ts +45 -0
- package/dist/parity/scenario.js +245 -0
- package/dist/parity/script.d.ts +44 -0
- package/dist/parity/script.js +136 -0
- package/dist/parity/snapshot.d.ts +43 -0
- package/dist/parity/snapshot.js +71 -0
- package/dist/real-data/index.d.ts +2 -0
- package/dist/real-data/index.js +12 -0
- package/dist/real-data/real-data.d.ts +76 -0
- package/dist/real-data/real-data.js +156 -0
- package/fixtures/kg-golden/README.md +136 -0
- package/fixtures/kg-golden/ask-questions.json +458 -0
- package/fixtures/kg-golden/meetings/m01-northwind-pilot-kickoff.json +792 -0
- package/fixtures/kg-golden/meetings/m02-halden-migration-planning.json +814 -0
- package/fixtures/kg-golden/meetings/m03-larkspur-weekly-sync.json +601 -0
- package/fixtures/kg-golden/meetings/m04-corvid-intake-discovery.json +690 -0
- package/fixtures/kg-golden/meetings/m05-hosting-vendor-selection.json +631 -0
- package/fixtures/kg-golden/meetings/m06-northwind-floor-data-review.json +649 -0
- package/fixtures/kg-golden/meetings/m07-gullwing-intro-notes.json +428 -0
- package/fixtures/kg-golden/meetings/m08-halden-migration-checkpoint.json +672 -0
- package/fixtures/kg-golden/meetings/m09-northwind-platform-org-update.json +711 -0
- package/fixtures/kg-golden/meetings/m10-corvid-prototype-review.json +623 -0
- package/fixtures/kg-golden/meetings/m11-solvane-grid-dashboard-scoping.json +689 -0
- package/fixtures/kg-golden/meetings/m12-northwind-pilot-replan.json +681 -0
- package/fixtures/kg-golden/meetings/m13-halden-cutover-go-no-go.json +721 -0
- package/fixtures/kg-golden/meetings/m14-gullwing-discovery-readout.json +719 -0
- package/fixtures/kg-golden/meetings/m15-halden-handover-ravi-leaving.json +716 -0
- package/fixtures/kg-golden/meetings/m16-varden-claims-portal-intro.json +704 -0
- package/fixtures/kg-golden/meetings/m17-corvid-usability-debrief.json +572 -0
- package/fixtures/kg-golden/meetings/m18-hosting-decision-revisited.json +655 -0
- package/fixtures/kg-golden/meetings/m19-solvane-integration-kickoff.json +726 -0
- package/fixtures/kg-golden/meetings/m20-northwind-go-live-retro.json +673 -0
- package/fixtures/kg-golden/meetings/m21-quarterly-account-review.json +449 -0
- package/fixtures/kg-golden/meetings/m22-halden-intro-call-2020.json +558 -0
- package/fixtures/kg-golden/meetings/m23-gullwing-model-review.json +702 -0
- package/fixtures/kg-golden/meetings/m24-varden-discovery-midpoint.json +643 -0
- package/fixtures/kg-golden/meetings/m25-corvid-rollout-planning.json +642 -0
- package/fixtures/kg-golden/meetings/m26-larkspur-engineering-prep.json +695 -0
- package/fixtures/kg-golden/meetings/m27-solvane-phase-one-demo.json +649 -0
- package/fixtures/kg-golden/meetings/m28-northwind-building-5-scoping.json +715 -0
- package/fixtures/kg-golden/meetings/m29-halden-southern-cutover-review.json +752 -0
- package/fixtures/kg-golden/meetings/m30-varden-portal-build-kickoff.json +697 -0
- package/fixtures/kg-golden/meetings/m31-gullwing-rollout-renewal.json +681 -0
- package/fixtures/kg-golden/meetings/m32-brambleway-weekly-sync.json +472 -0
- package/fixtures/kg-golden/meetings/m33-nina-oliver-one-on-one.json +342 -0
- package/fixtures/kg-golden/meetings/m34-coffee-with-dana.json +249 -0
- package/fixtures/kg-golden/meetings/m35-brambleway-june-sync.json +553 -0
- package/fixtures/kg-golden/meetings/m36-copenhagen-conference-planning.json +296 -0
- package/host/generated/client.d.ts +1 -0
- package/host/generated/client.js +5 -0
- package/host/generated/default.d.ts +1 -0
- package/host/generated/default.js +5 -0
- package/host/generated/edge.d.ts +1 -0
- package/host/generated/edge.js +1658 -0
- package/host/generated/index-browser.js +1684 -0
- package/host/generated/index.d.ts +192335 -0
- package/host/generated/index.js +1658 -0
- package/host/generated/package.json +139 -0
- package/host/generated/query_compiler_fast_bg.js +2 -0
- package/host/generated/query_compiler_fast_bg.wasm +0 -0
- package/host/generated/query_compiler_fast_bg.wasm-base64.js +2 -0
- package/host/generated/runtime/client.d.ts +3433 -0
- package/host/generated/runtime/client.js +110 -0
- package/host/generated/runtime/index-browser.d.ts +90 -0
- package/host/generated/runtime/index-browser.js +6 -0
- package/host/generated/runtime/wasm-compiler-edge.js +100 -0
- package/host/generated/schema.prisma +6312 -0
- package/host/generated/wasm-edge-light-loader.mjs +5 -0
- package/host/generated/wasm-worker-loader.mjs +5 -0
- package/host/prisma/fragments/kvox.ask.prisma +126 -0
- package/host/prisma/fragments/kvox.graph.prisma +1073 -0
- package/host/prisma/fragments/kvox.notes.prisma +787 -0
- package/host/prisma/fragments/kvox.search.prisma +211 -0
- package/host/prisma/fragments/kvox.transcripts.prisma +790 -0
- package/host/prisma/kvox.lock +101 -0
- package/host/prisma/migrations/20240101000000_initial/migration.sql +297 -0
- package/host/prisma/migrations/20240101000001_add_personal_access_tokens/migration.sql +31 -0
- package/host/prisma/migrations/20240101000002_add_credentials/migration.sql +20 -0
- package/host/prisma/migrations/20240101000003_add_notification_deliveries/migration.sql +27 -0
- package/host/prisma/migrations/20240101000004_drop_stale_uuid_defaults/migration.sql +35 -0
- package/host/prisma/migrations/20240101000005_add_notifications/migration.sql +22 -0
- package/host/prisma/migrations/20240101000006_add_push_subscriptions/migration.sql +25 -0
- package/host/prisma/migrations/20240101000007_add_jobs/migration.sql +110 -0
- package/host/prisma/migrations/20240101000008_add_worker_nodes/migration.sql +90 -0
- package/host/prisma/migrations/20240101000009_add_database_backup_runs/migration.sql +104 -0
- package/host/prisma/migrations/20240101000010_add_notification_broadcasts/migration.sql +57 -0
- package/host/prisma/migrations/20240101000011_add_backup_run_job_link/migration.sql +87 -0
- package/host/prisma/migrations/20240101000012_add_job_node_secrets/migration.sql +61 -0
- package/host/prisma/migrations/20240101000013_add_backup_run_pg_dump_version/migration.sql +26 -0
- package/host/prisma/migrations/20240101000014_add_job_claim_token/migration.sql +92 -0
- package/host/prisma/migrations/20240101000015_add_ai_platform/migration.sql +108 -0
- package/host/prisma/migrations/20240101000016_revoke_viewer_ai_use/migration.sql +32 -0
- package/host/prisma/migrations/20240101000017_add_user_credentials/migration.sql +29 -0
- package/host/prisma/migrations/20240101000018_add_device_session_credential_link/migration.sql +52 -0
- package/host/prisma/migrations/20240101000019_add_worker_node_vitals/migration.sql +3 -0
- package/host/prisma/migrations/20240101000020_add_job_trace_context/migration.sql +6 -0
- package/host/prisma/migrations/20240101000021_add_retention_created_at_indexes/migration.sql +13 -0
- package/host/prisma/migrations/20240101000022_add_organizations/migration.sql +142 -0
- package/host/prisma/migrations/20240101000023_split_system_org_roles/migration.sql +131 -0
- package/host/prisma/migrations/20240101000024_org_scoped_rls/migration.sql +215 -0
- package/host/prisma/migrations/20240101000025_add_groups/migration.sql +165 -0
- package/host/prisma/migrations/20240101000026_add_grants/migration.sql +117 -0
- package/host/prisma/migrations/20240101000027_add_org_settings/migration.sql +49 -0
- package/host/prisma/migrations/20240101000028_add_org_credentials/migration.sql +54 -0
- package/host/prisma/migrations/20240101000029_add_jobs_org_id/migration.sql +18 -0
- package/host/prisma/migrations/20240101000030_add_jobs_org_id_status_index/migration.sql +6 -0
- package/host/prisma/migrations/20240101000031_add_broadcast_target_org/migration.sql +21 -0
- package/host/prisma/migrations/20240101000032_add_android_app/migration.sql +60 -0
- package/host/prisma/migrations/20240101000033_open_job_reason/migration.sql +16 -0
- package/host/prisma/migrations/20240101000034_ai_usage_feature/migration.sql +37 -0
- package/host/prisma/migrations/20240101000035_add_app_metadata/migration.sql +49 -0
- package/host/prisma/migrations/20240101000036_open_sharing_vocabularies/migration.sql +97 -0
- package/host/prisma/migrations/20260914130000_kvox_add_transcripts/migration.sql +322 -0
- package/host/prisma/migrations/20260914140000_kvox_add_notes/migration.sql +311 -0
- package/host/prisma/migrations/20260915120000_kvox_add_search_vectors/migration.sql +150 -0
- package/host/prisma/migrations/20260915130000_kvox_add_search_embeddings/migration.sql +362 -0
- package/host/prisma/migrations/20260915210000_kvox_add_note_title_source/migration.sql +30 -0
- package/host/prisma/migrations/20260923120000_kvox_add_note_generation_context_snapshot/migration.sql +24 -0
- package/host/prisma/migrations/20260923130000_kvox_add_user_hidden_note_templates/migration.sql +35 -0
- package/host/prisma/migrations/20260923140000_kvox_add_transcript_speaker_identities/migration.sql +6 -0
- package/host/prisma/migrations/20260923150000_kvox_transcript_name_checks/migration.sql +95 -0
- package/host/prisma/migrations/20260923160000_kvox_add_note_body_format/migration.sql +27 -0
- package/host/prisma/migrations/20260923170000_kvox_add_note_version_body_format/migration.sql +23 -0
- package/host/prisma/migrations/20260926012548_kvox_add_knowledge_graph/migration.sql +680 -0
- package/host/prisma/migrations/20260926030000_kvox_fix_kg_relations_valid_precision_chk/migration.sql +29 -0
- package/host/prisma/migrations/20260926030100_kvox_add_transcript_recorded_at/migration.sql +9 -0
- package/host/prisma/migrations/20260926030200_kvox_kg_evidence_invariant/migration.sql +60 -0
- package/host/prisma/migrations/20260926040000_kvox_add_kg_graph_layouts/migration.sql +30 -0
- package/host/prisma/migrations/20260926050000_kvox_add_ask_conversations/migration.sql +99 -0
- package/host/prisma/migrations/20260926231512_kvox_add_kg_exports/migration.sql +52 -0
- package/host/prisma/migrations/20261016120000_kvox_transcripts_org_id/migration.sql +49 -0
- package/host/prisma/platform.lock +319 -0
- package/host/prisma/schema/app.kvox.ask.prisma +110 -0
- package/host/prisma/schema/app.kvox.graph.prisma +1030 -0
- package/host/prisma/schema/app.kvox.notes.prisma +746 -0
- package/host/prisma/schema/app.kvox.search.prisma +208 -0
- package/host/prisma/schema/app.kvox.transcripts.prisma +726 -0
- package/host/prisma/schema/platform.ai.prisma +419 -0
- package/host/prisma/schema/platform.android-app.prisma +46 -0
- package/host/prisma/schema/platform.base.prisma +15 -0
- package/host/prisma/schema/platform.credentials.prisma +156 -0
- package/host/prisma/schema/platform.db-backup.prisma +359 -0
- package/host/prisma/schema/platform.identity.prisma +638 -0
- package/host/prisma/schema/platform.jobs.prisma +824 -0
- package/host/prisma/schema/platform.notifications.prisma +641 -0
- package/host/prisma/schema/platform.settings.prisma +53 -0
- package/host/prisma/schema/platform.sharing.prisma +208 -0
- package/host/prisma/schema/platform.storage.prisma +118 -0
- package/package.json +112 -1
- package/parity/requests.ask.json +2681 -0
- package/parity/requests.m01.json +1554 -0
- package/parity/requests.m02.json +1554 -0
- package/parity/requests.m03.json +1554 -0
- package/parity/requests.m04.json +1554 -0
- package/parity/requests.m05.json +1554 -0
- package/parity/requests.m06.json +1554 -0
- package/parity/requests.m07.json +1554 -0
- package/parity/requests.m08.json +1554 -0
- package/parity/requests.m09.json +1554 -0
- package/parity/requests.m10.json +1554 -0
|
@@ -0,0 +1,2681 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"method": "stream",
|
|
4
|
+
"feature": "graph_agent",
|
|
5
|
+
"model": "gpt-parity-agent",
|
|
6
|
+
"request": {
|
|
7
|
+
"input": [
|
|
8
|
+
{
|
|
9
|
+
"content": [
|
|
10
|
+
{
|
|
11
|
+
"text": "Who does Sarah Chen work for?",
|
|
12
|
+
"type": "text"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"role": "user",
|
|
16
|
+
"type": "message"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"instructions": "You answer questions about the account holder's own knowledge graph, built from their reviewed meeting notes and transcripts. Today is 2026-09-26.\nRules:\n1. Use ONLY information returned by the tools in this turn. If the tools find nothing relevant, say so plainly — never guess or use outside knowledge about these people or companies.\n2. Cite every factual sentence with the markers the tools give you: [^evN] for a source quote (preferred), [^docN] for a transcript or note passage, [^entN] for an entity itself. Never invent a marker. Never print ids.\n3. Start with `search` unless you already hold a reference. For \"when\"/\"as of\" questions pass asOf; dates in the graph are meeting dates.\n4. You are read-only. If asked to change something, explain that the user can edit it on the entity page or in a note's review panel.\n5. Be concise. Use short paragraphs or bullet lists. Do not repeat the question.",
|
|
20
|
+
"maxOutputTokens": 6096,
|
|
21
|
+
"reasoning": {
|
|
22
|
+
"effort": "low"
|
|
23
|
+
},
|
|
24
|
+
"toolChoice": "auto",
|
|
25
|
+
"tools": [
|
|
26
|
+
{
|
|
27
|
+
"description": "Find people, organizations, projects and meetings by name, and passages in the user's transcripts and notes that match the query. Use this first when you do not yet have a reference.",
|
|
28
|
+
"name": "search",
|
|
29
|
+
"parameters": {
|
|
30
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"properties": {
|
|
33
|
+
"limit": {
|
|
34
|
+
"anyOf": [
|
|
35
|
+
{
|
|
36
|
+
"maximum": 9007199254740991,
|
|
37
|
+
"minimum": -9007199254740991,
|
|
38
|
+
"type": "integer"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"type": "null"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"description": "Results per kind, 1–10. Default 5."
|
|
45
|
+
},
|
|
46
|
+
"query": {
|
|
47
|
+
"description": "What to look for: a name, a topic or a phrase. 1–200 characters.",
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
"scope": {
|
|
51
|
+
"anyOf": [
|
|
52
|
+
{
|
|
53
|
+
"const": "all",
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"const": "entities",
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"const": "documents",
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"const": null,
|
|
66
|
+
"type": "null"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"description": "Which results matter most: \"entities\" (names), \"documents\" (passages) or \"all\" (default). Both kinds are always searched; the other kind is just shortened."
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"required": [
|
|
73
|
+
"query",
|
|
74
|
+
"scope",
|
|
75
|
+
"limit"
|
|
76
|
+
],
|
|
77
|
+
"type": "object"
|
|
78
|
+
},
|
|
79
|
+
"strict": true,
|
|
80
|
+
"type": "function"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"description": "Get one entity's type, name, aliases, attributes and counts.",
|
|
84
|
+
"name": "get_entity",
|
|
85
|
+
"parameters": {
|
|
86
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
87
|
+
"additionalProperties": false,
|
|
88
|
+
"properties": {
|
|
89
|
+
"entity": {
|
|
90
|
+
"description": "An entity reference (entN) from an earlier tool result.",
|
|
91
|
+
"type": "string"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"required": [
|
|
95
|
+
"entity"
|
|
96
|
+
],
|
|
97
|
+
"type": "object"
|
|
98
|
+
},
|
|
99
|
+
"strict": true,
|
|
100
|
+
"type": "function"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"description": "List what an entity is connected to, optionally as of a past date.",
|
|
104
|
+
"name": "neighbors",
|
|
105
|
+
"parameters": {
|
|
106
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
107
|
+
"additionalProperties": false,
|
|
108
|
+
"properties": {
|
|
109
|
+
"asOf": {
|
|
110
|
+
"anyOf": [
|
|
111
|
+
{
|
|
112
|
+
"type": "string"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"type": "null"
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"description": "Evaluate the graph as of this date (YYYY-MM-DD). Default: today."
|
|
119
|
+
},
|
|
120
|
+
"entity": {
|
|
121
|
+
"description": "An entity reference (entN).",
|
|
122
|
+
"type": "string"
|
|
123
|
+
},
|
|
124
|
+
"hops": {
|
|
125
|
+
"anyOf": [
|
|
126
|
+
{
|
|
127
|
+
"const": 1,
|
|
128
|
+
"type": "number"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"const": 2,
|
|
132
|
+
"type": "number"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"const": null,
|
|
136
|
+
"type": "null"
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"description": "How far to walk: 1 (direct connections, default) or 2."
|
|
140
|
+
},
|
|
141
|
+
"limit": {
|
|
142
|
+
"anyOf": [
|
|
143
|
+
{
|
|
144
|
+
"maximum": 9007199254740991,
|
|
145
|
+
"minimum": -9007199254740991,
|
|
146
|
+
"type": "integer"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"type": "null"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"description": "Most nodes to return, 1–50. Default 25."
|
|
153
|
+
},
|
|
154
|
+
"relationTypes": {
|
|
155
|
+
"anyOf": [
|
|
156
|
+
{
|
|
157
|
+
"items": {
|
|
158
|
+
"type": "string"
|
|
159
|
+
},
|
|
160
|
+
"type": "array"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"type": "null"
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"description": "Walk only these relation types, e.g. [\"WORKS_FOR\", \"REPORTS_TO\"]. Default: all."
|
|
167
|
+
},
|
|
168
|
+
"types": {
|
|
169
|
+
"anyOf": [
|
|
170
|
+
{
|
|
171
|
+
"items": {
|
|
172
|
+
"type": "string"
|
|
173
|
+
},
|
|
174
|
+
"type": "array"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"type": "null"
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
"description": "Keep only these node types, e.g. [\"Person\", \"Organization\"] or item kinds [\"commitment\", \"decision\"]. Default: all."
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"required": [
|
|
184
|
+
"entity",
|
|
185
|
+
"hops",
|
|
186
|
+
"types",
|
|
187
|
+
"relationTypes",
|
|
188
|
+
"asOf",
|
|
189
|
+
"limit"
|
|
190
|
+
],
|
|
191
|
+
"type": "object"
|
|
192
|
+
},
|
|
193
|
+
"strict": true,
|
|
194
|
+
"type": "function"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"description": "List dated events about an entity (decisions, commitments, claims, role and employer changes, meetings), newest first.",
|
|
198
|
+
"name": "timeline",
|
|
199
|
+
"parameters": {
|
|
200
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
201
|
+
"additionalProperties": false,
|
|
202
|
+
"properties": {
|
|
203
|
+
"asOf": {
|
|
204
|
+
"anyOf": [
|
|
205
|
+
{
|
|
206
|
+
"type": "string"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"type": "null"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"description": "Only events up to this date (YYYY-MM-DD). Default: today."
|
|
213
|
+
},
|
|
214
|
+
"entity": {
|
|
215
|
+
"description": "An entity reference (entN).",
|
|
216
|
+
"type": "string"
|
|
217
|
+
},
|
|
218
|
+
"kinds": {
|
|
219
|
+
"anyOf": [
|
|
220
|
+
{
|
|
221
|
+
"items": {
|
|
222
|
+
"type": "string"
|
|
223
|
+
},
|
|
224
|
+
"type": "array"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"type": "null"
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"description": "Keep only these event kinds: commitment, decision, claim, person_fact, relation, meeting. Default: all."
|
|
231
|
+
},
|
|
232
|
+
"limit": {
|
|
233
|
+
"anyOf": [
|
|
234
|
+
{
|
|
235
|
+
"maximum": 9007199254740991,
|
|
236
|
+
"minimum": -9007199254740991,
|
|
237
|
+
"type": "integer"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"type": "null"
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"description": "Most events to return, 1–25. Default 15."
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"required": [
|
|
247
|
+
"entity",
|
|
248
|
+
"asOf",
|
|
249
|
+
"kinds",
|
|
250
|
+
"limit"
|
|
251
|
+
],
|
|
252
|
+
"type": "object"
|
|
253
|
+
},
|
|
254
|
+
"strict": true,
|
|
255
|
+
"type": "function"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"description": "Get the source quotes that support an entity, item or relation. Cite these with [^evN].",
|
|
259
|
+
"name": "evidence",
|
|
260
|
+
"parameters": {
|
|
261
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
262
|
+
"additionalProperties": false,
|
|
263
|
+
"properties": {
|
|
264
|
+
"limit": {
|
|
265
|
+
"anyOf": [
|
|
266
|
+
{
|
|
267
|
+
"maximum": 9007199254740991,
|
|
268
|
+
"minimum": -9007199254740991,
|
|
269
|
+
"type": "integer"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"type": "null"
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"description": "Most quotes to return, 1–10. Default 5."
|
|
276
|
+
},
|
|
277
|
+
"subject": {
|
|
278
|
+
"description": "An entity (entN), item (itmN) or relation (relN) reference.",
|
|
279
|
+
"type": "string"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"required": [
|
|
283
|
+
"subject",
|
|
284
|
+
"limit"
|
|
285
|
+
],
|
|
286
|
+
"type": "object"
|
|
287
|
+
},
|
|
288
|
+
"strict": true,
|
|
289
|
+
"type": "function"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"description": "Get a cited summary of what is new about an entity: what changed, decisions, open commitments, risks and claims, people changes.",
|
|
293
|
+
"name": "entity_brief",
|
|
294
|
+
"parameters": {
|
|
295
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
296
|
+
"additionalProperties": false,
|
|
297
|
+
"properties": {
|
|
298
|
+
"asOf": {
|
|
299
|
+
"anyOf": [
|
|
300
|
+
{
|
|
301
|
+
"type": "string"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"type": "null"
|
|
305
|
+
}
|
|
306
|
+
],
|
|
307
|
+
"description": "Evaluate the brief as of this date (YYYY-MM-DD). Default: today. With it, no stored summary is returned."
|
|
308
|
+
},
|
|
309
|
+
"entity": {
|
|
310
|
+
"description": "An entity reference (entN).",
|
|
311
|
+
"type": "string"
|
|
312
|
+
},
|
|
313
|
+
"since": {
|
|
314
|
+
"anyOf": [
|
|
315
|
+
{
|
|
316
|
+
"type": "string"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"type": "null"
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
"description": "Start of the \"what changed\" window (YYYY-MM-DD). Default: the last 30 days or the last summary."
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
"required": [
|
|
326
|
+
"entity",
|
|
327
|
+
"since",
|
|
328
|
+
"asOf"
|
|
329
|
+
],
|
|
330
|
+
"type": "object"
|
|
331
|
+
},
|
|
332
|
+
"strict": true,
|
|
333
|
+
"type": "function"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"description": "List commitments, optionally for one person or organization, by status and due date.",
|
|
337
|
+
"name": "list_commitments",
|
|
338
|
+
"parameters": {
|
|
339
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
340
|
+
"additionalProperties": false,
|
|
341
|
+
"properties": {
|
|
342
|
+
"direction": {
|
|
343
|
+
"anyOf": [
|
|
344
|
+
{
|
|
345
|
+
"const": "owned_by",
|
|
346
|
+
"type": "string"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"const": "owed_to",
|
|
350
|
+
"type": "string"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"const": "any",
|
|
354
|
+
"type": "string"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"const": null,
|
|
358
|
+
"type": "null"
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
"description": "With entity: \"owned_by\" (they promised it), \"owed_to\" (it was promised to them) or \"any\" (default)."
|
|
362
|
+
},
|
|
363
|
+
"dueBefore": {
|
|
364
|
+
"anyOf": [
|
|
365
|
+
{
|
|
366
|
+
"type": "string"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"type": "null"
|
|
370
|
+
}
|
|
371
|
+
],
|
|
372
|
+
"description": "Only commitments due on or before this date (YYYY-MM-DD)."
|
|
373
|
+
},
|
|
374
|
+
"entity": {
|
|
375
|
+
"anyOf": [
|
|
376
|
+
{
|
|
377
|
+
"type": "string"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"type": "null"
|
|
381
|
+
}
|
|
382
|
+
],
|
|
383
|
+
"description": "A person or organization reference (entN). Default: every commitment."
|
|
384
|
+
},
|
|
385
|
+
"limit": {
|
|
386
|
+
"anyOf": [
|
|
387
|
+
{
|
|
388
|
+
"maximum": 9007199254740991,
|
|
389
|
+
"minimum": -9007199254740991,
|
|
390
|
+
"type": "integer"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"type": "null"
|
|
394
|
+
}
|
|
395
|
+
],
|
|
396
|
+
"description": "Most commitments to return, 1–25. Default 15."
|
|
397
|
+
},
|
|
398
|
+
"status": {
|
|
399
|
+
"anyOf": [
|
|
400
|
+
{
|
|
401
|
+
"const": "open",
|
|
402
|
+
"type": "string"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"const": "done",
|
|
406
|
+
"type": "string"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"const": "dropped",
|
|
410
|
+
"type": "string"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"const": "superseded",
|
|
414
|
+
"type": "string"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"const": "any",
|
|
418
|
+
"type": "string"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"const": null,
|
|
422
|
+
"type": "null"
|
|
423
|
+
}
|
|
424
|
+
],
|
|
425
|
+
"description": "Commitment status to keep. Default \"open\"; \"any\" keeps all."
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
"required": [
|
|
429
|
+
"entity",
|
|
430
|
+
"direction",
|
|
431
|
+
"status",
|
|
432
|
+
"dueBefore",
|
|
433
|
+
"limit"
|
|
434
|
+
],
|
|
435
|
+
"type": "object"
|
|
436
|
+
},
|
|
437
|
+
"strict": true,
|
|
438
|
+
"type": "function"
|
|
439
|
+
}
|
|
440
|
+
]
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"method": "stream",
|
|
445
|
+
"feature": "graph_agent",
|
|
446
|
+
"model": "gpt-parity-agent",
|
|
447
|
+
"request": {
|
|
448
|
+
"input": [
|
|
449
|
+
{
|
|
450
|
+
"content": [
|
|
451
|
+
{
|
|
452
|
+
"text": "Who does Sarah Chen work for?",
|
|
453
|
+
"type": "text"
|
|
454
|
+
}
|
|
455
|
+
],
|
|
456
|
+
"role": "user",
|
|
457
|
+
"type": "message"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"arguments": "{\"query\":\"Who does Sarah Chen work for?\"}",
|
|
461
|
+
"callId": "call_parity_1",
|
|
462
|
+
"name": "search",
|
|
463
|
+
"type": "function_call"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"callId": "call_parity_1",
|
|
467
|
+
"output": "{\"entities\":[{\"ref\":\"ent1\",\"label\":\"Parity Entity\"}],\"truncated\":false}",
|
|
468
|
+
"type": "function_call_output"
|
|
469
|
+
}
|
|
470
|
+
],
|
|
471
|
+
"instructions": "You answer questions about the account holder's own knowledge graph, built from their reviewed meeting notes and transcripts. Today is 2026-09-26.\nRules:\n1. Use ONLY information returned by the tools in this turn. If the tools find nothing relevant, say so plainly — never guess or use outside knowledge about these people or companies.\n2. Cite every factual sentence with the markers the tools give you: [^evN] for a source quote (preferred), [^docN] for a transcript or note passage, [^entN] for an entity itself. Never invent a marker. Never print ids.\n3. Start with `search` unless you already hold a reference. For \"when\"/\"as of\" questions pass asOf; dates in the graph are meeting dates.\n4. You are read-only. If asked to change something, explain that the user can edit it on the entity page or in a note's review panel.\n5. Be concise. Use short paragraphs or bullet lists. Do not repeat the question.",
|
|
472
|
+
"maxOutputTokens": 6096,
|
|
473
|
+
"reasoning": {
|
|
474
|
+
"effort": "low"
|
|
475
|
+
},
|
|
476
|
+
"toolChoice": "auto",
|
|
477
|
+
"tools": [
|
|
478
|
+
{
|
|
479
|
+
"description": "Find people, organizations, projects and meetings by name, and passages in the user's transcripts and notes that match the query. Use this first when you do not yet have a reference.",
|
|
480
|
+
"name": "search",
|
|
481
|
+
"parameters": {
|
|
482
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
483
|
+
"additionalProperties": false,
|
|
484
|
+
"properties": {
|
|
485
|
+
"limit": {
|
|
486
|
+
"anyOf": [
|
|
487
|
+
{
|
|
488
|
+
"maximum": 9007199254740991,
|
|
489
|
+
"minimum": -9007199254740991,
|
|
490
|
+
"type": "integer"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"type": "null"
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
"description": "Results per kind, 1–10. Default 5."
|
|
497
|
+
},
|
|
498
|
+
"query": {
|
|
499
|
+
"description": "What to look for: a name, a topic or a phrase. 1–200 characters.",
|
|
500
|
+
"type": "string"
|
|
501
|
+
},
|
|
502
|
+
"scope": {
|
|
503
|
+
"anyOf": [
|
|
504
|
+
{
|
|
505
|
+
"const": "all",
|
|
506
|
+
"type": "string"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"const": "entities",
|
|
510
|
+
"type": "string"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"const": "documents",
|
|
514
|
+
"type": "string"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"const": null,
|
|
518
|
+
"type": "null"
|
|
519
|
+
}
|
|
520
|
+
],
|
|
521
|
+
"description": "Which results matter most: \"entities\" (names), \"documents\" (passages) or \"all\" (default). Both kinds are always searched; the other kind is just shortened."
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"required": [
|
|
525
|
+
"query",
|
|
526
|
+
"scope",
|
|
527
|
+
"limit"
|
|
528
|
+
],
|
|
529
|
+
"type": "object"
|
|
530
|
+
},
|
|
531
|
+
"strict": true,
|
|
532
|
+
"type": "function"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"description": "Get one entity's type, name, aliases, attributes and counts.",
|
|
536
|
+
"name": "get_entity",
|
|
537
|
+
"parameters": {
|
|
538
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
539
|
+
"additionalProperties": false,
|
|
540
|
+
"properties": {
|
|
541
|
+
"entity": {
|
|
542
|
+
"description": "An entity reference (entN) from an earlier tool result.",
|
|
543
|
+
"type": "string"
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"required": [
|
|
547
|
+
"entity"
|
|
548
|
+
],
|
|
549
|
+
"type": "object"
|
|
550
|
+
},
|
|
551
|
+
"strict": true,
|
|
552
|
+
"type": "function"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"description": "List what an entity is connected to, optionally as of a past date.",
|
|
556
|
+
"name": "neighbors",
|
|
557
|
+
"parameters": {
|
|
558
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
559
|
+
"additionalProperties": false,
|
|
560
|
+
"properties": {
|
|
561
|
+
"asOf": {
|
|
562
|
+
"anyOf": [
|
|
563
|
+
{
|
|
564
|
+
"type": "string"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"type": "null"
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
"description": "Evaluate the graph as of this date (YYYY-MM-DD). Default: today."
|
|
571
|
+
},
|
|
572
|
+
"entity": {
|
|
573
|
+
"description": "An entity reference (entN).",
|
|
574
|
+
"type": "string"
|
|
575
|
+
},
|
|
576
|
+
"hops": {
|
|
577
|
+
"anyOf": [
|
|
578
|
+
{
|
|
579
|
+
"const": 1,
|
|
580
|
+
"type": "number"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"const": 2,
|
|
584
|
+
"type": "number"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"const": null,
|
|
588
|
+
"type": "null"
|
|
589
|
+
}
|
|
590
|
+
],
|
|
591
|
+
"description": "How far to walk: 1 (direct connections, default) or 2."
|
|
592
|
+
},
|
|
593
|
+
"limit": {
|
|
594
|
+
"anyOf": [
|
|
595
|
+
{
|
|
596
|
+
"maximum": 9007199254740991,
|
|
597
|
+
"minimum": -9007199254740991,
|
|
598
|
+
"type": "integer"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"type": "null"
|
|
602
|
+
}
|
|
603
|
+
],
|
|
604
|
+
"description": "Most nodes to return, 1–50. Default 25."
|
|
605
|
+
},
|
|
606
|
+
"relationTypes": {
|
|
607
|
+
"anyOf": [
|
|
608
|
+
{
|
|
609
|
+
"items": {
|
|
610
|
+
"type": "string"
|
|
611
|
+
},
|
|
612
|
+
"type": "array"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"type": "null"
|
|
616
|
+
}
|
|
617
|
+
],
|
|
618
|
+
"description": "Walk only these relation types, e.g. [\"WORKS_FOR\", \"REPORTS_TO\"]. Default: all."
|
|
619
|
+
},
|
|
620
|
+
"types": {
|
|
621
|
+
"anyOf": [
|
|
622
|
+
{
|
|
623
|
+
"items": {
|
|
624
|
+
"type": "string"
|
|
625
|
+
},
|
|
626
|
+
"type": "array"
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"type": "null"
|
|
630
|
+
}
|
|
631
|
+
],
|
|
632
|
+
"description": "Keep only these node types, e.g. [\"Person\", \"Organization\"] or item kinds [\"commitment\", \"decision\"]. Default: all."
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
"required": [
|
|
636
|
+
"entity",
|
|
637
|
+
"hops",
|
|
638
|
+
"types",
|
|
639
|
+
"relationTypes",
|
|
640
|
+
"asOf",
|
|
641
|
+
"limit"
|
|
642
|
+
],
|
|
643
|
+
"type": "object"
|
|
644
|
+
},
|
|
645
|
+
"strict": true,
|
|
646
|
+
"type": "function"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"description": "List dated events about an entity (decisions, commitments, claims, role and employer changes, meetings), newest first.",
|
|
650
|
+
"name": "timeline",
|
|
651
|
+
"parameters": {
|
|
652
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
653
|
+
"additionalProperties": false,
|
|
654
|
+
"properties": {
|
|
655
|
+
"asOf": {
|
|
656
|
+
"anyOf": [
|
|
657
|
+
{
|
|
658
|
+
"type": "string"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"type": "null"
|
|
662
|
+
}
|
|
663
|
+
],
|
|
664
|
+
"description": "Only events up to this date (YYYY-MM-DD). Default: today."
|
|
665
|
+
},
|
|
666
|
+
"entity": {
|
|
667
|
+
"description": "An entity reference (entN).",
|
|
668
|
+
"type": "string"
|
|
669
|
+
},
|
|
670
|
+
"kinds": {
|
|
671
|
+
"anyOf": [
|
|
672
|
+
{
|
|
673
|
+
"items": {
|
|
674
|
+
"type": "string"
|
|
675
|
+
},
|
|
676
|
+
"type": "array"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"type": "null"
|
|
680
|
+
}
|
|
681
|
+
],
|
|
682
|
+
"description": "Keep only these event kinds: commitment, decision, claim, person_fact, relation, meeting. Default: all."
|
|
683
|
+
},
|
|
684
|
+
"limit": {
|
|
685
|
+
"anyOf": [
|
|
686
|
+
{
|
|
687
|
+
"maximum": 9007199254740991,
|
|
688
|
+
"minimum": -9007199254740991,
|
|
689
|
+
"type": "integer"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"type": "null"
|
|
693
|
+
}
|
|
694
|
+
],
|
|
695
|
+
"description": "Most events to return, 1–25. Default 15."
|
|
696
|
+
}
|
|
697
|
+
},
|
|
698
|
+
"required": [
|
|
699
|
+
"entity",
|
|
700
|
+
"asOf",
|
|
701
|
+
"kinds",
|
|
702
|
+
"limit"
|
|
703
|
+
],
|
|
704
|
+
"type": "object"
|
|
705
|
+
},
|
|
706
|
+
"strict": true,
|
|
707
|
+
"type": "function"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"description": "Get the source quotes that support an entity, item or relation. Cite these with [^evN].",
|
|
711
|
+
"name": "evidence",
|
|
712
|
+
"parameters": {
|
|
713
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
714
|
+
"additionalProperties": false,
|
|
715
|
+
"properties": {
|
|
716
|
+
"limit": {
|
|
717
|
+
"anyOf": [
|
|
718
|
+
{
|
|
719
|
+
"maximum": 9007199254740991,
|
|
720
|
+
"minimum": -9007199254740991,
|
|
721
|
+
"type": "integer"
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"type": "null"
|
|
725
|
+
}
|
|
726
|
+
],
|
|
727
|
+
"description": "Most quotes to return, 1–10. Default 5."
|
|
728
|
+
},
|
|
729
|
+
"subject": {
|
|
730
|
+
"description": "An entity (entN), item (itmN) or relation (relN) reference.",
|
|
731
|
+
"type": "string"
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
"required": [
|
|
735
|
+
"subject",
|
|
736
|
+
"limit"
|
|
737
|
+
],
|
|
738
|
+
"type": "object"
|
|
739
|
+
},
|
|
740
|
+
"strict": true,
|
|
741
|
+
"type": "function"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"description": "Get a cited summary of what is new about an entity: what changed, decisions, open commitments, risks and claims, people changes.",
|
|
745
|
+
"name": "entity_brief",
|
|
746
|
+
"parameters": {
|
|
747
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
748
|
+
"additionalProperties": false,
|
|
749
|
+
"properties": {
|
|
750
|
+
"asOf": {
|
|
751
|
+
"anyOf": [
|
|
752
|
+
{
|
|
753
|
+
"type": "string"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"type": "null"
|
|
757
|
+
}
|
|
758
|
+
],
|
|
759
|
+
"description": "Evaluate the brief as of this date (YYYY-MM-DD). Default: today. With it, no stored summary is returned."
|
|
760
|
+
},
|
|
761
|
+
"entity": {
|
|
762
|
+
"description": "An entity reference (entN).",
|
|
763
|
+
"type": "string"
|
|
764
|
+
},
|
|
765
|
+
"since": {
|
|
766
|
+
"anyOf": [
|
|
767
|
+
{
|
|
768
|
+
"type": "string"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"type": "null"
|
|
772
|
+
}
|
|
773
|
+
],
|
|
774
|
+
"description": "Start of the \"what changed\" window (YYYY-MM-DD). Default: the last 30 days or the last summary."
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
"required": [
|
|
778
|
+
"entity",
|
|
779
|
+
"since",
|
|
780
|
+
"asOf"
|
|
781
|
+
],
|
|
782
|
+
"type": "object"
|
|
783
|
+
},
|
|
784
|
+
"strict": true,
|
|
785
|
+
"type": "function"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"description": "List commitments, optionally for one person or organization, by status and due date.",
|
|
789
|
+
"name": "list_commitments",
|
|
790
|
+
"parameters": {
|
|
791
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
792
|
+
"additionalProperties": false,
|
|
793
|
+
"properties": {
|
|
794
|
+
"direction": {
|
|
795
|
+
"anyOf": [
|
|
796
|
+
{
|
|
797
|
+
"const": "owned_by",
|
|
798
|
+
"type": "string"
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"const": "owed_to",
|
|
802
|
+
"type": "string"
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"const": "any",
|
|
806
|
+
"type": "string"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"const": null,
|
|
810
|
+
"type": "null"
|
|
811
|
+
}
|
|
812
|
+
],
|
|
813
|
+
"description": "With entity: \"owned_by\" (they promised it), \"owed_to\" (it was promised to them) or \"any\" (default)."
|
|
814
|
+
},
|
|
815
|
+
"dueBefore": {
|
|
816
|
+
"anyOf": [
|
|
817
|
+
{
|
|
818
|
+
"type": "string"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"type": "null"
|
|
822
|
+
}
|
|
823
|
+
],
|
|
824
|
+
"description": "Only commitments due on or before this date (YYYY-MM-DD)."
|
|
825
|
+
},
|
|
826
|
+
"entity": {
|
|
827
|
+
"anyOf": [
|
|
828
|
+
{
|
|
829
|
+
"type": "string"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"type": "null"
|
|
833
|
+
}
|
|
834
|
+
],
|
|
835
|
+
"description": "A person or organization reference (entN). Default: every commitment."
|
|
836
|
+
},
|
|
837
|
+
"limit": {
|
|
838
|
+
"anyOf": [
|
|
839
|
+
{
|
|
840
|
+
"maximum": 9007199254740991,
|
|
841
|
+
"minimum": -9007199254740991,
|
|
842
|
+
"type": "integer"
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"type": "null"
|
|
846
|
+
}
|
|
847
|
+
],
|
|
848
|
+
"description": "Most commitments to return, 1–25. Default 15."
|
|
849
|
+
},
|
|
850
|
+
"status": {
|
|
851
|
+
"anyOf": [
|
|
852
|
+
{
|
|
853
|
+
"const": "open",
|
|
854
|
+
"type": "string"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"const": "done",
|
|
858
|
+
"type": "string"
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"const": "dropped",
|
|
862
|
+
"type": "string"
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"const": "superseded",
|
|
866
|
+
"type": "string"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"const": "any",
|
|
870
|
+
"type": "string"
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"const": null,
|
|
874
|
+
"type": "null"
|
|
875
|
+
}
|
|
876
|
+
],
|
|
877
|
+
"description": "Commitment status to keep. Default \"open\"; \"any\" keeps all."
|
|
878
|
+
}
|
|
879
|
+
},
|
|
880
|
+
"required": [
|
|
881
|
+
"entity",
|
|
882
|
+
"direction",
|
|
883
|
+
"status",
|
|
884
|
+
"dueBefore",
|
|
885
|
+
"limit"
|
|
886
|
+
],
|
|
887
|
+
"type": "object"
|
|
888
|
+
},
|
|
889
|
+
"strict": true,
|
|
890
|
+
"type": "function"
|
|
891
|
+
}
|
|
892
|
+
]
|
|
893
|
+
}
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"method": "stream",
|
|
897
|
+
"feature": "graph_agent",
|
|
898
|
+
"model": "gpt-parity-agent",
|
|
899
|
+
"request": {
|
|
900
|
+
"input": [
|
|
901
|
+
{
|
|
902
|
+
"content": [
|
|
903
|
+
{
|
|
904
|
+
"text": "What is Marcus Webb's role at Halden Freight?",
|
|
905
|
+
"type": "text"
|
|
906
|
+
}
|
|
907
|
+
],
|
|
908
|
+
"role": "user",
|
|
909
|
+
"type": "message"
|
|
910
|
+
}
|
|
911
|
+
],
|
|
912
|
+
"instructions": "You answer questions about the account holder's own knowledge graph, built from their reviewed meeting notes and transcripts. Today is 2026-09-26.\nRules:\n1. Use ONLY information returned by the tools in this turn. If the tools find nothing relevant, say so plainly — never guess or use outside knowledge about these people or companies.\n2. Cite every factual sentence with the markers the tools give you: [^evN] for a source quote (preferred), [^docN] for a transcript or note passage, [^entN] for an entity itself. Never invent a marker. Never print ids.\n3. Start with `search` unless you already hold a reference. For \"when\"/\"as of\" questions pass asOf; dates in the graph are meeting dates.\n4. You are read-only. If asked to change something, explain that the user can edit it on the entity page or in a note's review panel.\n5. Be concise. Use short paragraphs or bullet lists. Do not repeat the question.",
|
|
913
|
+
"maxOutputTokens": 6096,
|
|
914
|
+
"reasoning": {
|
|
915
|
+
"effort": "low"
|
|
916
|
+
},
|
|
917
|
+
"toolChoice": "auto",
|
|
918
|
+
"tools": [
|
|
919
|
+
{
|
|
920
|
+
"description": "Find people, organizations, projects and meetings by name, and passages in the user's transcripts and notes that match the query. Use this first when you do not yet have a reference.",
|
|
921
|
+
"name": "search",
|
|
922
|
+
"parameters": {
|
|
923
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
924
|
+
"additionalProperties": false,
|
|
925
|
+
"properties": {
|
|
926
|
+
"limit": {
|
|
927
|
+
"anyOf": [
|
|
928
|
+
{
|
|
929
|
+
"maximum": 9007199254740991,
|
|
930
|
+
"minimum": -9007199254740991,
|
|
931
|
+
"type": "integer"
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"type": "null"
|
|
935
|
+
}
|
|
936
|
+
],
|
|
937
|
+
"description": "Results per kind, 1–10. Default 5."
|
|
938
|
+
},
|
|
939
|
+
"query": {
|
|
940
|
+
"description": "What to look for: a name, a topic or a phrase. 1–200 characters.",
|
|
941
|
+
"type": "string"
|
|
942
|
+
},
|
|
943
|
+
"scope": {
|
|
944
|
+
"anyOf": [
|
|
945
|
+
{
|
|
946
|
+
"const": "all",
|
|
947
|
+
"type": "string"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"const": "entities",
|
|
951
|
+
"type": "string"
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"const": "documents",
|
|
955
|
+
"type": "string"
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
"const": null,
|
|
959
|
+
"type": "null"
|
|
960
|
+
}
|
|
961
|
+
],
|
|
962
|
+
"description": "Which results matter most: \"entities\" (names), \"documents\" (passages) or \"all\" (default). Both kinds are always searched; the other kind is just shortened."
|
|
963
|
+
}
|
|
964
|
+
},
|
|
965
|
+
"required": [
|
|
966
|
+
"query",
|
|
967
|
+
"scope",
|
|
968
|
+
"limit"
|
|
969
|
+
],
|
|
970
|
+
"type": "object"
|
|
971
|
+
},
|
|
972
|
+
"strict": true,
|
|
973
|
+
"type": "function"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"description": "Get one entity's type, name, aliases, attributes and counts.",
|
|
977
|
+
"name": "get_entity",
|
|
978
|
+
"parameters": {
|
|
979
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
980
|
+
"additionalProperties": false,
|
|
981
|
+
"properties": {
|
|
982
|
+
"entity": {
|
|
983
|
+
"description": "An entity reference (entN) from an earlier tool result.",
|
|
984
|
+
"type": "string"
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
"required": [
|
|
988
|
+
"entity"
|
|
989
|
+
],
|
|
990
|
+
"type": "object"
|
|
991
|
+
},
|
|
992
|
+
"strict": true,
|
|
993
|
+
"type": "function"
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"description": "List what an entity is connected to, optionally as of a past date.",
|
|
997
|
+
"name": "neighbors",
|
|
998
|
+
"parameters": {
|
|
999
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1000
|
+
"additionalProperties": false,
|
|
1001
|
+
"properties": {
|
|
1002
|
+
"asOf": {
|
|
1003
|
+
"anyOf": [
|
|
1004
|
+
{
|
|
1005
|
+
"type": "string"
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"type": "null"
|
|
1009
|
+
}
|
|
1010
|
+
],
|
|
1011
|
+
"description": "Evaluate the graph as of this date (YYYY-MM-DD). Default: today."
|
|
1012
|
+
},
|
|
1013
|
+
"entity": {
|
|
1014
|
+
"description": "An entity reference (entN).",
|
|
1015
|
+
"type": "string"
|
|
1016
|
+
},
|
|
1017
|
+
"hops": {
|
|
1018
|
+
"anyOf": [
|
|
1019
|
+
{
|
|
1020
|
+
"const": 1,
|
|
1021
|
+
"type": "number"
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"const": 2,
|
|
1025
|
+
"type": "number"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"const": null,
|
|
1029
|
+
"type": "null"
|
|
1030
|
+
}
|
|
1031
|
+
],
|
|
1032
|
+
"description": "How far to walk: 1 (direct connections, default) or 2."
|
|
1033
|
+
},
|
|
1034
|
+
"limit": {
|
|
1035
|
+
"anyOf": [
|
|
1036
|
+
{
|
|
1037
|
+
"maximum": 9007199254740991,
|
|
1038
|
+
"minimum": -9007199254740991,
|
|
1039
|
+
"type": "integer"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"type": "null"
|
|
1043
|
+
}
|
|
1044
|
+
],
|
|
1045
|
+
"description": "Most nodes to return, 1–50. Default 25."
|
|
1046
|
+
},
|
|
1047
|
+
"relationTypes": {
|
|
1048
|
+
"anyOf": [
|
|
1049
|
+
{
|
|
1050
|
+
"items": {
|
|
1051
|
+
"type": "string"
|
|
1052
|
+
},
|
|
1053
|
+
"type": "array"
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"type": "null"
|
|
1057
|
+
}
|
|
1058
|
+
],
|
|
1059
|
+
"description": "Walk only these relation types, e.g. [\"WORKS_FOR\", \"REPORTS_TO\"]. Default: all."
|
|
1060
|
+
},
|
|
1061
|
+
"types": {
|
|
1062
|
+
"anyOf": [
|
|
1063
|
+
{
|
|
1064
|
+
"items": {
|
|
1065
|
+
"type": "string"
|
|
1066
|
+
},
|
|
1067
|
+
"type": "array"
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"type": "null"
|
|
1071
|
+
}
|
|
1072
|
+
],
|
|
1073
|
+
"description": "Keep only these node types, e.g. [\"Person\", \"Organization\"] or item kinds [\"commitment\", \"decision\"]. Default: all."
|
|
1074
|
+
}
|
|
1075
|
+
},
|
|
1076
|
+
"required": [
|
|
1077
|
+
"entity",
|
|
1078
|
+
"hops",
|
|
1079
|
+
"types",
|
|
1080
|
+
"relationTypes",
|
|
1081
|
+
"asOf",
|
|
1082
|
+
"limit"
|
|
1083
|
+
],
|
|
1084
|
+
"type": "object"
|
|
1085
|
+
},
|
|
1086
|
+
"strict": true,
|
|
1087
|
+
"type": "function"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"description": "List dated events about an entity (decisions, commitments, claims, role and employer changes, meetings), newest first.",
|
|
1091
|
+
"name": "timeline",
|
|
1092
|
+
"parameters": {
|
|
1093
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1094
|
+
"additionalProperties": false,
|
|
1095
|
+
"properties": {
|
|
1096
|
+
"asOf": {
|
|
1097
|
+
"anyOf": [
|
|
1098
|
+
{
|
|
1099
|
+
"type": "string"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"type": "null"
|
|
1103
|
+
}
|
|
1104
|
+
],
|
|
1105
|
+
"description": "Only events up to this date (YYYY-MM-DD). Default: today."
|
|
1106
|
+
},
|
|
1107
|
+
"entity": {
|
|
1108
|
+
"description": "An entity reference (entN).",
|
|
1109
|
+
"type": "string"
|
|
1110
|
+
},
|
|
1111
|
+
"kinds": {
|
|
1112
|
+
"anyOf": [
|
|
1113
|
+
{
|
|
1114
|
+
"items": {
|
|
1115
|
+
"type": "string"
|
|
1116
|
+
},
|
|
1117
|
+
"type": "array"
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"type": "null"
|
|
1121
|
+
}
|
|
1122
|
+
],
|
|
1123
|
+
"description": "Keep only these event kinds: commitment, decision, claim, person_fact, relation, meeting. Default: all."
|
|
1124
|
+
},
|
|
1125
|
+
"limit": {
|
|
1126
|
+
"anyOf": [
|
|
1127
|
+
{
|
|
1128
|
+
"maximum": 9007199254740991,
|
|
1129
|
+
"minimum": -9007199254740991,
|
|
1130
|
+
"type": "integer"
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"type": "null"
|
|
1134
|
+
}
|
|
1135
|
+
],
|
|
1136
|
+
"description": "Most events to return, 1–25. Default 15."
|
|
1137
|
+
}
|
|
1138
|
+
},
|
|
1139
|
+
"required": [
|
|
1140
|
+
"entity",
|
|
1141
|
+
"asOf",
|
|
1142
|
+
"kinds",
|
|
1143
|
+
"limit"
|
|
1144
|
+
],
|
|
1145
|
+
"type": "object"
|
|
1146
|
+
},
|
|
1147
|
+
"strict": true,
|
|
1148
|
+
"type": "function"
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
"description": "Get the source quotes that support an entity, item or relation. Cite these with [^evN].",
|
|
1152
|
+
"name": "evidence",
|
|
1153
|
+
"parameters": {
|
|
1154
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1155
|
+
"additionalProperties": false,
|
|
1156
|
+
"properties": {
|
|
1157
|
+
"limit": {
|
|
1158
|
+
"anyOf": [
|
|
1159
|
+
{
|
|
1160
|
+
"maximum": 9007199254740991,
|
|
1161
|
+
"minimum": -9007199254740991,
|
|
1162
|
+
"type": "integer"
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
"type": "null"
|
|
1166
|
+
}
|
|
1167
|
+
],
|
|
1168
|
+
"description": "Most quotes to return, 1–10. Default 5."
|
|
1169
|
+
},
|
|
1170
|
+
"subject": {
|
|
1171
|
+
"description": "An entity (entN), item (itmN) or relation (relN) reference.",
|
|
1172
|
+
"type": "string"
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
"required": [
|
|
1176
|
+
"subject",
|
|
1177
|
+
"limit"
|
|
1178
|
+
],
|
|
1179
|
+
"type": "object"
|
|
1180
|
+
},
|
|
1181
|
+
"strict": true,
|
|
1182
|
+
"type": "function"
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"description": "Get a cited summary of what is new about an entity: what changed, decisions, open commitments, risks and claims, people changes.",
|
|
1186
|
+
"name": "entity_brief",
|
|
1187
|
+
"parameters": {
|
|
1188
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1189
|
+
"additionalProperties": false,
|
|
1190
|
+
"properties": {
|
|
1191
|
+
"asOf": {
|
|
1192
|
+
"anyOf": [
|
|
1193
|
+
{
|
|
1194
|
+
"type": "string"
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
"type": "null"
|
|
1198
|
+
}
|
|
1199
|
+
],
|
|
1200
|
+
"description": "Evaluate the brief as of this date (YYYY-MM-DD). Default: today. With it, no stored summary is returned."
|
|
1201
|
+
},
|
|
1202
|
+
"entity": {
|
|
1203
|
+
"description": "An entity reference (entN).",
|
|
1204
|
+
"type": "string"
|
|
1205
|
+
},
|
|
1206
|
+
"since": {
|
|
1207
|
+
"anyOf": [
|
|
1208
|
+
{
|
|
1209
|
+
"type": "string"
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"type": "null"
|
|
1213
|
+
}
|
|
1214
|
+
],
|
|
1215
|
+
"description": "Start of the \"what changed\" window (YYYY-MM-DD). Default: the last 30 days or the last summary."
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
1218
|
+
"required": [
|
|
1219
|
+
"entity",
|
|
1220
|
+
"since",
|
|
1221
|
+
"asOf"
|
|
1222
|
+
],
|
|
1223
|
+
"type": "object"
|
|
1224
|
+
},
|
|
1225
|
+
"strict": true,
|
|
1226
|
+
"type": "function"
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"description": "List commitments, optionally for one person or organization, by status and due date.",
|
|
1230
|
+
"name": "list_commitments",
|
|
1231
|
+
"parameters": {
|
|
1232
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1233
|
+
"additionalProperties": false,
|
|
1234
|
+
"properties": {
|
|
1235
|
+
"direction": {
|
|
1236
|
+
"anyOf": [
|
|
1237
|
+
{
|
|
1238
|
+
"const": "owned_by",
|
|
1239
|
+
"type": "string"
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
"const": "owed_to",
|
|
1243
|
+
"type": "string"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"const": "any",
|
|
1247
|
+
"type": "string"
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"const": null,
|
|
1251
|
+
"type": "null"
|
|
1252
|
+
}
|
|
1253
|
+
],
|
|
1254
|
+
"description": "With entity: \"owned_by\" (they promised it), \"owed_to\" (it was promised to them) or \"any\" (default)."
|
|
1255
|
+
},
|
|
1256
|
+
"dueBefore": {
|
|
1257
|
+
"anyOf": [
|
|
1258
|
+
{
|
|
1259
|
+
"type": "string"
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
"type": "null"
|
|
1263
|
+
}
|
|
1264
|
+
],
|
|
1265
|
+
"description": "Only commitments due on or before this date (YYYY-MM-DD)."
|
|
1266
|
+
},
|
|
1267
|
+
"entity": {
|
|
1268
|
+
"anyOf": [
|
|
1269
|
+
{
|
|
1270
|
+
"type": "string"
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"type": "null"
|
|
1274
|
+
}
|
|
1275
|
+
],
|
|
1276
|
+
"description": "A person or organization reference (entN). Default: every commitment."
|
|
1277
|
+
},
|
|
1278
|
+
"limit": {
|
|
1279
|
+
"anyOf": [
|
|
1280
|
+
{
|
|
1281
|
+
"maximum": 9007199254740991,
|
|
1282
|
+
"minimum": -9007199254740991,
|
|
1283
|
+
"type": "integer"
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"type": "null"
|
|
1287
|
+
}
|
|
1288
|
+
],
|
|
1289
|
+
"description": "Most commitments to return, 1–25. Default 15."
|
|
1290
|
+
},
|
|
1291
|
+
"status": {
|
|
1292
|
+
"anyOf": [
|
|
1293
|
+
{
|
|
1294
|
+
"const": "open",
|
|
1295
|
+
"type": "string"
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"const": "done",
|
|
1299
|
+
"type": "string"
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"const": "dropped",
|
|
1303
|
+
"type": "string"
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"const": "superseded",
|
|
1307
|
+
"type": "string"
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"const": "any",
|
|
1311
|
+
"type": "string"
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
"const": null,
|
|
1315
|
+
"type": "null"
|
|
1316
|
+
}
|
|
1317
|
+
],
|
|
1318
|
+
"description": "Commitment status to keep. Default \"open\"; \"any\" keeps all."
|
|
1319
|
+
}
|
|
1320
|
+
},
|
|
1321
|
+
"required": [
|
|
1322
|
+
"entity",
|
|
1323
|
+
"direction",
|
|
1324
|
+
"status",
|
|
1325
|
+
"dueBefore",
|
|
1326
|
+
"limit"
|
|
1327
|
+
],
|
|
1328
|
+
"type": "object"
|
|
1329
|
+
},
|
|
1330
|
+
"strict": true,
|
|
1331
|
+
"type": "function"
|
|
1332
|
+
}
|
|
1333
|
+
]
|
|
1334
|
+
}
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
"method": "stream",
|
|
1338
|
+
"feature": "graph_agent",
|
|
1339
|
+
"model": "gpt-parity-agent",
|
|
1340
|
+
"request": {
|
|
1341
|
+
"input": [
|
|
1342
|
+
{
|
|
1343
|
+
"content": [
|
|
1344
|
+
{
|
|
1345
|
+
"text": "What is Marcus Webb's role at Halden Freight?",
|
|
1346
|
+
"type": "text"
|
|
1347
|
+
}
|
|
1348
|
+
],
|
|
1349
|
+
"role": "user",
|
|
1350
|
+
"type": "message"
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"arguments": "{\"query\":\"What is Marcus Webb's role at Halden Freight?\"}",
|
|
1354
|
+
"callId": "call_parity_1",
|
|
1355
|
+
"name": "search",
|
|
1356
|
+
"type": "function_call"
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
"callId": "call_parity_1",
|
|
1360
|
+
"output": "{\"entities\":[{\"ref\":\"ent1\",\"label\":\"Parity Entity\"}],\"truncated\":false}",
|
|
1361
|
+
"type": "function_call_output"
|
|
1362
|
+
}
|
|
1363
|
+
],
|
|
1364
|
+
"instructions": "You answer questions about the account holder's own knowledge graph, built from their reviewed meeting notes and transcripts. Today is 2026-09-26.\nRules:\n1. Use ONLY information returned by the tools in this turn. If the tools find nothing relevant, say so plainly — never guess or use outside knowledge about these people or companies.\n2. Cite every factual sentence with the markers the tools give you: [^evN] for a source quote (preferred), [^docN] for a transcript or note passage, [^entN] for an entity itself. Never invent a marker. Never print ids.\n3. Start with `search` unless you already hold a reference. For \"when\"/\"as of\" questions pass asOf; dates in the graph are meeting dates.\n4. You are read-only. If asked to change something, explain that the user can edit it on the entity page or in a note's review panel.\n5. Be concise. Use short paragraphs or bullet lists. Do not repeat the question.",
|
|
1365
|
+
"maxOutputTokens": 6096,
|
|
1366
|
+
"reasoning": {
|
|
1367
|
+
"effort": "low"
|
|
1368
|
+
},
|
|
1369
|
+
"toolChoice": "auto",
|
|
1370
|
+
"tools": [
|
|
1371
|
+
{
|
|
1372
|
+
"description": "Find people, organizations, projects and meetings by name, and passages in the user's transcripts and notes that match the query. Use this first when you do not yet have a reference.",
|
|
1373
|
+
"name": "search",
|
|
1374
|
+
"parameters": {
|
|
1375
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1376
|
+
"additionalProperties": false,
|
|
1377
|
+
"properties": {
|
|
1378
|
+
"limit": {
|
|
1379
|
+
"anyOf": [
|
|
1380
|
+
{
|
|
1381
|
+
"maximum": 9007199254740991,
|
|
1382
|
+
"minimum": -9007199254740991,
|
|
1383
|
+
"type": "integer"
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
"type": "null"
|
|
1387
|
+
}
|
|
1388
|
+
],
|
|
1389
|
+
"description": "Results per kind, 1–10. Default 5."
|
|
1390
|
+
},
|
|
1391
|
+
"query": {
|
|
1392
|
+
"description": "What to look for: a name, a topic or a phrase. 1–200 characters.",
|
|
1393
|
+
"type": "string"
|
|
1394
|
+
},
|
|
1395
|
+
"scope": {
|
|
1396
|
+
"anyOf": [
|
|
1397
|
+
{
|
|
1398
|
+
"const": "all",
|
|
1399
|
+
"type": "string"
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
"const": "entities",
|
|
1403
|
+
"type": "string"
|
|
1404
|
+
},
|
|
1405
|
+
{
|
|
1406
|
+
"const": "documents",
|
|
1407
|
+
"type": "string"
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
"const": null,
|
|
1411
|
+
"type": "null"
|
|
1412
|
+
}
|
|
1413
|
+
],
|
|
1414
|
+
"description": "Which results matter most: \"entities\" (names), \"documents\" (passages) or \"all\" (default). Both kinds are always searched; the other kind is just shortened."
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
"required": [
|
|
1418
|
+
"query",
|
|
1419
|
+
"scope",
|
|
1420
|
+
"limit"
|
|
1421
|
+
],
|
|
1422
|
+
"type": "object"
|
|
1423
|
+
},
|
|
1424
|
+
"strict": true,
|
|
1425
|
+
"type": "function"
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"description": "Get one entity's type, name, aliases, attributes and counts.",
|
|
1429
|
+
"name": "get_entity",
|
|
1430
|
+
"parameters": {
|
|
1431
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1432
|
+
"additionalProperties": false,
|
|
1433
|
+
"properties": {
|
|
1434
|
+
"entity": {
|
|
1435
|
+
"description": "An entity reference (entN) from an earlier tool result.",
|
|
1436
|
+
"type": "string"
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
"required": [
|
|
1440
|
+
"entity"
|
|
1441
|
+
],
|
|
1442
|
+
"type": "object"
|
|
1443
|
+
},
|
|
1444
|
+
"strict": true,
|
|
1445
|
+
"type": "function"
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"description": "List what an entity is connected to, optionally as of a past date.",
|
|
1449
|
+
"name": "neighbors",
|
|
1450
|
+
"parameters": {
|
|
1451
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1452
|
+
"additionalProperties": false,
|
|
1453
|
+
"properties": {
|
|
1454
|
+
"asOf": {
|
|
1455
|
+
"anyOf": [
|
|
1456
|
+
{
|
|
1457
|
+
"type": "string"
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"type": "null"
|
|
1461
|
+
}
|
|
1462
|
+
],
|
|
1463
|
+
"description": "Evaluate the graph as of this date (YYYY-MM-DD). Default: today."
|
|
1464
|
+
},
|
|
1465
|
+
"entity": {
|
|
1466
|
+
"description": "An entity reference (entN).",
|
|
1467
|
+
"type": "string"
|
|
1468
|
+
},
|
|
1469
|
+
"hops": {
|
|
1470
|
+
"anyOf": [
|
|
1471
|
+
{
|
|
1472
|
+
"const": 1,
|
|
1473
|
+
"type": "number"
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
"const": 2,
|
|
1477
|
+
"type": "number"
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"const": null,
|
|
1481
|
+
"type": "null"
|
|
1482
|
+
}
|
|
1483
|
+
],
|
|
1484
|
+
"description": "How far to walk: 1 (direct connections, default) or 2."
|
|
1485
|
+
},
|
|
1486
|
+
"limit": {
|
|
1487
|
+
"anyOf": [
|
|
1488
|
+
{
|
|
1489
|
+
"maximum": 9007199254740991,
|
|
1490
|
+
"minimum": -9007199254740991,
|
|
1491
|
+
"type": "integer"
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
"type": "null"
|
|
1495
|
+
}
|
|
1496
|
+
],
|
|
1497
|
+
"description": "Most nodes to return, 1–50. Default 25."
|
|
1498
|
+
},
|
|
1499
|
+
"relationTypes": {
|
|
1500
|
+
"anyOf": [
|
|
1501
|
+
{
|
|
1502
|
+
"items": {
|
|
1503
|
+
"type": "string"
|
|
1504
|
+
},
|
|
1505
|
+
"type": "array"
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"type": "null"
|
|
1509
|
+
}
|
|
1510
|
+
],
|
|
1511
|
+
"description": "Walk only these relation types, e.g. [\"WORKS_FOR\", \"REPORTS_TO\"]. Default: all."
|
|
1512
|
+
},
|
|
1513
|
+
"types": {
|
|
1514
|
+
"anyOf": [
|
|
1515
|
+
{
|
|
1516
|
+
"items": {
|
|
1517
|
+
"type": "string"
|
|
1518
|
+
},
|
|
1519
|
+
"type": "array"
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
"type": "null"
|
|
1523
|
+
}
|
|
1524
|
+
],
|
|
1525
|
+
"description": "Keep only these node types, e.g. [\"Person\", \"Organization\"] or item kinds [\"commitment\", \"decision\"]. Default: all."
|
|
1526
|
+
}
|
|
1527
|
+
},
|
|
1528
|
+
"required": [
|
|
1529
|
+
"entity",
|
|
1530
|
+
"hops",
|
|
1531
|
+
"types",
|
|
1532
|
+
"relationTypes",
|
|
1533
|
+
"asOf",
|
|
1534
|
+
"limit"
|
|
1535
|
+
],
|
|
1536
|
+
"type": "object"
|
|
1537
|
+
},
|
|
1538
|
+
"strict": true,
|
|
1539
|
+
"type": "function"
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"description": "List dated events about an entity (decisions, commitments, claims, role and employer changes, meetings), newest first.",
|
|
1543
|
+
"name": "timeline",
|
|
1544
|
+
"parameters": {
|
|
1545
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1546
|
+
"additionalProperties": false,
|
|
1547
|
+
"properties": {
|
|
1548
|
+
"asOf": {
|
|
1549
|
+
"anyOf": [
|
|
1550
|
+
{
|
|
1551
|
+
"type": "string"
|
|
1552
|
+
},
|
|
1553
|
+
{
|
|
1554
|
+
"type": "null"
|
|
1555
|
+
}
|
|
1556
|
+
],
|
|
1557
|
+
"description": "Only events up to this date (YYYY-MM-DD). Default: today."
|
|
1558
|
+
},
|
|
1559
|
+
"entity": {
|
|
1560
|
+
"description": "An entity reference (entN).",
|
|
1561
|
+
"type": "string"
|
|
1562
|
+
},
|
|
1563
|
+
"kinds": {
|
|
1564
|
+
"anyOf": [
|
|
1565
|
+
{
|
|
1566
|
+
"items": {
|
|
1567
|
+
"type": "string"
|
|
1568
|
+
},
|
|
1569
|
+
"type": "array"
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"type": "null"
|
|
1573
|
+
}
|
|
1574
|
+
],
|
|
1575
|
+
"description": "Keep only these event kinds: commitment, decision, claim, person_fact, relation, meeting. Default: all."
|
|
1576
|
+
},
|
|
1577
|
+
"limit": {
|
|
1578
|
+
"anyOf": [
|
|
1579
|
+
{
|
|
1580
|
+
"maximum": 9007199254740991,
|
|
1581
|
+
"minimum": -9007199254740991,
|
|
1582
|
+
"type": "integer"
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
"type": "null"
|
|
1586
|
+
}
|
|
1587
|
+
],
|
|
1588
|
+
"description": "Most events to return, 1–25. Default 15."
|
|
1589
|
+
}
|
|
1590
|
+
},
|
|
1591
|
+
"required": [
|
|
1592
|
+
"entity",
|
|
1593
|
+
"asOf",
|
|
1594
|
+
"kinds",
|
|
1595
|
+
"limit"
|
|
1596
|
+
],
|
|
1597
|
+
"type": "object"
|
|
1598
|
+
},
|
|
1599
|
+
"strict": true,
|
|
1600
|
+
"type": "function"
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"description": "Get the source quotes that support an entity, item or relation. Cite these with [^evN].",
|
|
1604
|
+
"name": "evidence",
|
|
1605
|
+
"parameters": {
|
|
1606
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1607
|
+
"additionalProperties": false,
|
|
1608
|
+
"properties": {
|
|
1609
|
+
"limit": {
|
|
1610
|
+
"anyOf": [
|
|
1611
|
+
{
|
|
1612
|
+
"maximum": 9007199254740991,
|
|
1613
|
+
"minimum": -9007199254740991,
|
|
1614
|
+
"type": "integer"
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
"type": "null"
|
|
1618
|
+
}
|
|
1619
|
+
],
|
|
1620
|
+
"description": "Most quotes to return, 1–10. Default 5."
|
|
1621
|
+
},
|
|
1622
|
+
"subject": {
|
|
1623
|
+
"description": "An entity (entN), item (itmN) or relation (relN) reference.",
|
|
1624
|
+
"type": "string"
|
|
1625
|
+
}
|
|
1626
|
+
},
|
|
1627
|
+
"required": [
|
|
1628
|
+
"subject",
|
|
1629
|
+
"limit"
|
|
1630
|
+
],
|
|
1631
|
+
"type": "object"
|
|
1632
|
+
},
|
|
1633
|
+
"strict": true,
|
|
1634
|
+
"type": "function"
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
"description": "Get a cited summary of what is new about an entity: what changed, decisions, open commitments, risks and claims, people changes.",
|
|
1638
|
+
"name": "entity_brief",
|
|
1639
|
+
"parameters": {
|
|
1640
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1641
|
+
"additionalProperties": false,
|
|
1642
|
+
"properties": {
|
|
1643
|
+
"asOf": {
|
|
1644
|
+
"anyOf": [
|
|
1645
|
+
{
|
|
1646
|
+
"type": "string"
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
"type": "null"
|
|
1650
|
+
}
|
|
1651
|
+
],
|
|
1652
|
+
"description": "Evaluate the brief as of this date (YYYY-MM-DD). Default: today. With it, no stored summary is returned."
|
|
1653
|
+
},
|
|
1654
|
+
"entity": {
|
|
1655
|
+
"description": "An entity reference (entN).",
|
|
1656
|
+
"type": "string"
|
|
1657
|
+
},
|
|
1658
|
+
"since": {
|
|
1659
|
+
"anyOf": [
|
|
1660
|
+
{
|
|
1661
|
+
"type": "string"
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
"type": "null"
|
|
1665
|
+
}
|
|
1666
|
+
],
|
|
1667
|
+
"description": "Start of the \"what changed\" window (YYYY-MM-DD). Default: the last 30 days or the last summary."
|
|
1668
|
+
}
|
|
1669
|
+
},
|
|
1670
|
+
"required": [
|
|
1671
|
+
"entity",
|
|
1672
|
+
"since",
|
|
1673
|
+
"asOf"
|
|
1674
|
+
],
|
|
1675
|
+
"type": "object"
|
|
1676
|
+
},
|
|
1677
|
+
"strict": true,
|
|
1678
|
+
"type": "function"
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"description": "List commitments, optionally for one person or organization, by status and due date.",
|
|
1682
|
+
"name": "list_commitments",
|
|
1683
|
+
"parameters": {
|
|
1684
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1685
|
+
"additionalProperties": false,
|
|
1686
|
+
"properties": {
|
|
1687
|
+
"direction": {
|
|
1688
|
+
"anyOf": [
|
|
1689
|
+
{
|
|
1690
|
+
"const": "owned_by",
|
|
1691
|
+
"type": "string"
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
"const": "owed_to",
|
|
1695
|
+
"type": "string"
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
"const": "any",
|
|
1699
|
+
"type": "string"
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
"const": null,
|
|
1703
|
+
"type": "null"
|
|
1704
|
+
}
|
|
1705
|
+
],
|
|
1706
|
+
"description": "With entity: \"owned_by\" (they promised it), \"owed_to\" (it was promised to them) or \"any\" (default)."
|
|
1707
|
+
},
|
|
1708
|
+
"dueBefore": {
|
|
1709
|
+
"anyOf": [
|
|
1710
|
+
{
|
|
1711
|
+
"type": "string"
|
|
1712
|
+
},
|
|
1713
|
+
{
|
|
1714
|
+
"type": "null"
|
|
1715
|
+
}
|
|
1716
|
+
],
|
|
1717
|
+
"description": "Only commitments due on or before this date (YYYY-MM-DD)."
|
|
1718
|
+
},
|
|
1719
|
+
"entity": {
|
|
1720
|
+
"anyOf": [
|
|
1721
|
+
{
|
|
1722
|
+
"type": "string"
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
"type": "null"
|
|
1726
|
+
}
|
|
1727
|
+
],
|
|
1728
|
+
"description": "A person or organization reference (entN). Default: every commitment."
|
|
1729
|
+
},
|
|
1730
|
+
"limit": {
|
|
1731
|
+
"anyOf": [
|
|
1732
|
+
{
|
|
1733
|
+
"maximum": 9007199254740991,
|
|
1734
|
+
"minimum": -9007199254740991,
|
|
1735
|
+
"type": "integer"
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
"type": "null"
|
|
1739
|
+
}
|
|
1740
|
+
],
|
|
1741
|
+
"description": "Most commitments to return, 1–25. Default 15."
|
|
1742
|
+
},
|
|
1743
|
+
"status": {
|
|
1744
|
+
"anyOf": [
|
|
1745
|
+
{
|
|
1746
|
+
"const": "open",
|
|
1747
|
+
"type": "string"
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
"const": "done",
|
|
1751
|
+
"type": "string"
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
"const": "dropped",
|
|
1755
|
+
"type": "string"
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
"const": "superseded",
|
|
1759
|
+
"type": "string"
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"const": "any",
|
|
1763
|
+
"type": "string"
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
"const": null,
|
|
1767
|
+
"type": "null"
|
|
1768
|
+
}
|
|
1769
|
+
],
|
|
1770
|
+
"description": "Commitment status to keep. Default \"open\"; \"any\" keeps all."
|
|
1771
|
+
}
|
|
1772
|
+
},
|
|
1773
|
+
"required": [
|
|
1774
|
+
"entity",
|
|
1775
|
+
"direction",
|
|
1776
|
+
"status",
|
|
1777
|
+
"dueBefore",
|
|
1778
|
+
"limit"
|
|
1779
|
+
],
|
|
1780
|
+
"type": "object"
|
|
1781
|
+
},
|
|
1782
|
+
"strict": true,
|
|
1783
|
+
"type": "function"
|
|
1784
|
+
}
|
|
1785
|
+
]
|
|
1786
|
+
}
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
"method": "stream",
|
|
1790
|
+
"feature": "graph_agent",
|
|
1791
|
+
"model": "gpt-parity-agent",
|
|
1792
|
+
"request": {
|
|
1793
|
+
"input": [
|
|
1794
|
+
{
|
|
1795
|
+
"content": [
|
|
1796
|
+
{
|
|
1797
|
+
"text": "What is Elif Kaya's role at Corvid Health?",
|
|
1798
|
+
"type": "text"
|
|
1799
|
+
}
|
|
1800
|
+
],
|
|
1801
|
+
"role": "user",
|
|
1802
|
+
"type": "message"
|
|
1803
|
+
}
|
|
1804
|
+
],
|
|
1805
|
+
"instructions": "You answer questions about the account holder's own knowledge graph, built from their reviewed meeting notes and transcripts. Today is 2026-09-26.\nRules:\n1. Use ONLY information returned by the tools in this turn. If the tools find nothing relevant, say so plainly — never guess or use outside knowledge about these people or companies.\n2. Cite every factual sentence with the markers the tools give you: [^evN] for a source quote (preferred), [^docN] for a transcript or note passage, [^entN] for an entity itself. Never invent a marker. Never print ids.\n3. Start with `search` unless you already hold a reference. For \"when\"/\"as of\" questions pass asOf; dates in the graph are meeting dates.\n4. You are read-only. If asked to change something, explain that the user can edit it on the entity page or in a note's review panel.\n5. Be concise. Use short paragraphs or bullet lists. Do not repeat the question.",
|
|
1806
|
+
"maxOutputTokens": 6096,
|
|
1807
|
+
"reasoning": {
|
|
1808
|
+
"effort": "low"
|
|
1809
|
+
},
|
|
1810
|
+
"toolChoice": "auto",
|
|
1811
|
+
"tools": [
|
|
1812
|
+
{
|
|
1813
|
+
"description": "Find people, organizations, projects and meetings by name, and passages in the user's transcripts and notes that match the query. Use this first when you do not yet have a reference.",
|
|
1814
|
+
"name": "search",
|
|
1815
|
+
"parameters": {
|
|
1816
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1817
|
+
"additionalProperties": false,
|
|
1818
|
+
"properties": {
|
|
1819
|
+
"limit": {
|
|
1820
|
+
"anyOf": [
|
|
1821
|
+
{
|
|
1822
|
+
"maximum": 9007199254740991,
|
|
1823
|
+
"minimum": -9007199254740991,
|
|
1824
|
+
"type": "integer"
|
|
1825
|
+
},
|
|
1826
|
+
{
|
|
1827
|
+
"type": "null"
|
|
1828
|
+
}
|
|
1829
|
+
],
|
|
1830
|
+
"description": "Results per kind, 1–10. Default 5."
|
|
1831
|
+
},
|
|
1832
|
+
"query": {
|
|
1833
|
+
"description": "What to look for: a name, a topic or a phrase. 1–200 characters.",
|
|
1834
|
+
"type": "string"
|
|
1835
|
+
},
|
|
1836
|
+
"scope": {
|
|
1837
|
+
"anyOf": [
|
|
1838
|
+
{
|
|
1839
|
+
"const": "all",
|
|
1840
|
+
"type": "string"
|
|
1841
|
+
},
|
|
1842
|
+
{
|
|
1843
|
+
"const": "entities",
|
|
1844
|
+
"type": "string"
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"const": "documents",
|
|
1848
|
+
"type": "string"
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"const": null,
|
|
1852
|
+
"type": "null"
|
|
1853
|
+
}
|
|
1854
|
+
],
|
|
1855
|
+
"description": "Which results matter most: \"entities\" (names), \"documents\" (passages) or \"all\" (default). Both kinds are always searched; the other kind is just shortened."
|
|
1856
|
+
}
|
|
1857
|
+
},
|
|
1858
|
+
"required": [
|
|
1859
|
+
"query",
|
|
1860
|
+
"scope",
|
|
1861
|
+
"limit"
|
|
1862
|
+
],
|
|
1863
|
+
"type": "object"
|
|
1864
|
+
},
|
|
1865
|
+
"strict": true,
|
|
1866
|
+
"type": "function"
|
|
1867
|
+
},
|
|
1868
|
+
{
|
|
1869
|
+
"description": "Get one entity's type, name, aliases, attributes and counts.",
|
|
1870
|
+
"name": "get_entity",
|
|
1871
|
+
"parameters": {
|
|
1872
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1873
|
+
"additionalProperties": false,
|
|
1874
|
+
"properties": {
|
|
1875
|
+
"entity": {
|
|
1876
|
+
"description": "An entity reference (entN) from an earlier tool result.",
|
|
1877
|
+
"type": "string"
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
"required": [
|
|
1881
|
+
"entity"
|
|
1882
|
+
],
|
|
1883
|
+
"type": "object"
|
|
1884
|
+
},
|
|
1885
|
+
"strict": true,
|
|
1886
|
+
"type": "function"
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"description": "List what an entity is connected to, optionally as of a past date.",
|
|
1890
|
+
"name": "neighbors",
|
|
1891
|
+
"parameters": {
|
|
1892
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1893
|
+
"additionalProperties": false,
|
|
1894
|
+
"properties": {
|
|
1895
|
+
"asOf": {
|
|
1896
|
+
"anyOf": [
|
|
1897
|
+
{
|
|
1898
|
+
"type": "string"
|
|
1899
|
+
},
|
|
1900
|
+
{
|
|
1901
|
+
"type": "null"
|
|
1902
|
+
}
|
|
1903
|
+
],
|
|
1904
|
+
"description": "Evaluate the graph as of this date (YYYY-MM-DD). Default: today."
|
|
1905
|
+
},
|
|
1906
|
+
"entity": {
|
|
1907
|
+
"description": "An entity reference (entN).",
|
|
1908
|
+
"type": "string"
|
|
1909
|
+
},
|
|
1910
|
+
"hops": {
|
|
1911
|
+
"anyOf": [
|
|
1912
|
+
{
|
|
1913
|
+
"const": 1,
|
|
1914
|
+
"type": "number"
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
"const": 2,
|
|
1918
|
+
"type": "number"
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
"const": null,
|
|
1922
|
+
"type": "null"
|
|
1923
|
+
}
|
|
1924
|
+
],
|
|
1925
|
+
"description": "How far to walk: 1 (direct connections, default) or 2."
|
|
1926
|
+
},
|
|
1927
|
+
"limit": {
|
|
1928
|
+
"anyOf": [
|
|
1929
|
+
{
|
|
1930
|
+
"maximum": 9007199254740991,
|
|
1931
|
+
"minimum": -9007199254740991,
|
|
1932
|
+
"type": "integer"
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
"type": "null"
|
|
1936
|
+
}
|
|
1937
|
+
],
|
|
1938
|
+
"description": "Most nodes to return, 1–50. Default 25."
|
|
1939
|
+
},
|
|
1940
|
+
"relationTypes": {
|
|
1941
|
+
"anyOf": [
|
|
1942
|
+
{
|
|
1943
|
+
"items": {
|
|
1944
|
+
"type": "string"
|
|
1945
|
+
},
|
|
1946
|
+
"type": "array"
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"type": "null"
|
|
1950
|
+
}
|
|
1951
|
+
],
|
|
1952
|
+
"description": "Walk only these relation types, e.g. [\"WORKS_FOR\", \"REPORTS_TO\"]. Default: all."
|
|
1953
|
+
},
|
|
1954
|
+
"types": {
|
|
1955
|
+
"anyOf": [
|
|
1956
|
+
{
|
|
1957
|
+
"items": {
|
|
1958
|
+
"type": "string"
|
|
1959
|
+
},
|
|
1960
|
+
"type": "array"
|
|
1961
|
+
},
|
|
1962
|
+
{
|
|
1963
|
+
"type": "null"
|
|
1964
|
+
}
|
|
1965
|
+
],
|
|
1966
|
+
"description": "Keep only these node types, e.g. [\"Person\", \"Organization\"] or item kinds [\"commitment\", \"decision\"]. Default: all."
|
|
1967
|
+
}
|
|
1968
|
+
},
|
|
1969
|
+
"required": [
|
|
1970
|
+
"entity",
|
|
1971
|
+
"hops",
|
|
1972
|
+
"types",
|
|
1973
|
+
"relationTypes",
|
|
1974
|
+
"asOf",
|
|
1975
|
+
"limit"
|
|
1976
|
+
],
|
|
1977
|
+
"type": "object"
|
|
1978
|
+
},
|
|
1979
|
+
"strict": true,
|
|
1980
|
+
"type": "function"
|
|
1981
|
+
},
|
|
1982
|
+
{
|
|
1983
|
+
"description": "List dated events about an entity (decisions, commitments, claims, role and employer changes, meetings), newest first.",
|
|
1984
|
+
"name": "timeline",
|
|
1985
|
+
"parameters": {
|
|
1986
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1987
|
+
"additionalProperties": false,
|
|
1988
|
+
"properties": {
|
|
1989
|
+
"asOf": {
|
|
1990
|
+
"anyOf": [
|
|
1991
|
+
{
|
|
1992
|
+
"type": "string"
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
"type": "null"
|
|
1996
|
+
}
|
|
1997
|
+
],
|
|
1998
|
+
"description": "Only events up to this date (YYYY-MM-DD). Default: today."
|
|
1999
|
+
},
|
|
2000
|
+
"entity": {
|
|
2001
|
+
"description": "An entity reference (entN).",
|
|
2002
|
+
"type": "string"
|
|
2003
|
+
},
|
|
2004
|
+
"kinds": {
|
|
2005
|
+
"anyOf": [
|
|
2006
|
+
{
|
|
2007
|
+
"items": {
|
|
2008
|
+
"type": "string"
|
|
2009
|
+
},
|
|
2010
|
+
"type": "array"
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
"type": "null"
|
|
2014
|
+
}
|
|
2015
|
+
],
|
|
2016
|
+
"description": "Keep only these event kinds: commitment, decision, claim, person_fact, relation, meeting. Default: all."
|
|
2017
|
+
},
|
|
2018
|
+
"limit": {
|
|
2019
|
+
"anyOf": [
|
|
2020
|
+
{
|
|
2021
|
+
"maximum": 9007199254740991,
|
|
2022
|
+
"minimum": -9007199254740991,
|
|
2023
|
+
"type": "integer"
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
"type": "null"
|
|
2027
|
+
}
|
|
2028
|
+
],
|
|
2029
|
+
"description": "Most events to return, 1–25. Default 15."
|
|
2030
|
+
}
|
|
2031
|
+
},
|
|
2032
|
+
"required": [
|
|
2033
|
+
"entity",
|
|
2034
|
+
"asOf",
|
|
2035
|
+
"kinds",
|
|
2036
|
+
"limit"
|
|
2037
|
+
],
|
|
2038
|
+
"type": "object"
|
|
2039
|
+
},
|
|
2040
|
+
"strict": true,
|
|
2041
|
+
"type": "function"
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
"description": "Get the source quotes that support an entity, item or relation. Cite these with [^evN].",
|
|
2045
|
+
"name": "evidence",
|
|
2046
|
+
"parameters": {
|
|
2047
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2048
|
+
"additionalProperties": false,
|
|
2049
|
+
"properties": {
|
|
2050
|
+
"limit": {
|
|
2051
|
+
"anyOf": [
|
|
2052
|
+
{
|
|
2053
|
+
"maximum": 9007199254740991,
|
|
2054
|
+
"minimum": -9007199254740991,
|
|
2055
|
+
"type": "integer"
|
|
2056
|
+
},
|
|
2057
|
+
{
|
|
2058
|
+
"type": "null"
|
|
2059
|
+
}
|
|
2060
|
+
],
|
|
2061
|
+
"description": "Most quotes to return, 1–10. Default 5."
|
|
2062
|
+
},
|
|
2063
|
+
"subject": {
|
|
2064
|
+
"description": "An entity (entN), item (itmN) or relation (relN) reference.",
|
|
2065
|
+
"type": "string"
|
|
2066
|
+
}
|
|
2067
|
+
},
|
|
2068
|
+
"required": [
|
|
2069
|
+
"subject",
|
|
2070
|
+
"limit"
|
|
2071
|
+
],
|
|
2072
|
+
"type": "object"
|
|
2073
|
+
},
|
|
2074
|
+
"strict": true,
|
|
2075
|
+
"type": "function"
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
"description": "Get a cited summary of what is new about an entity: what changed, decisions, open commitments, risks and claims, people changes.",
|
|
2079
|
+
"name": "entity_brief",
|
|
2080
|
+
"parameters": {
|
|
2081
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2082
|
+
"additionalProperties": false,
|
|
2083
|
+
"properties": {
|
|
2084
|
+
"asOf": {
|
|
2085
|
+
"anyOf": [
|
|
2086
|
+
{
|
|
2087
|
+
"type": "string"
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
"type": "null"
|
|
2091
|
+
}
|
|
2092
|
+
],
|
|
2093
|
+
"description": "Evaluate the brief as of this date (YYYY-MM-DD). Default: today. With it, no stored summary is returned."
|
|
2094
|
+
},
|
|
2095
|
+
"entity": {
|
|
2096
|
+
"description": "An entity reference (entN).",
|
|
2097
|
+
"type": "string"
|
|
2098
|
+
},
|
|
2099
|
+
"since": {
|
|
2100
|
+
"anyOf": [
|
|
2101
|
+
{
|
|
2102
|
+
"type": "string"
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
"type": "null"
|
|
2106
|
+
}
|
|
2107
|
+
],
|
|
2108
|
+
"description": "Start of the \"what changed\" window (YYYY-MM-DD). Default: the last 30 days or the last summary."
|
|
2109
|
+
}
|
|
2110
|
+
},
|
|
2111
|
+
"required": [
|
|
2112
|
+
"entity",
|
|
2113
|
+
"since",
|
|
2114
|
+
"asOf"
|
|
2115
|
+
],
|
|
2116
|
+
"type": "object"
|
|
2117
|
+
},
|
|
2118
|
+
"strict": true,
|
|
2119
|
+
"type": "function"
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
"description": "List commitments, optionally for one person or organization, by status and due date.",
|
|
2123
|
+
"name": "list_commitments",
|
|
2124
|
+
"parameters": {
|
|
2125
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2126
|
+
"additionalProperties": false,
|
|
2127
|
+
"properties": {
|
|
2128
|
+
"direction": {
|
|
2129
|
+
"anyOf": [
|
|
2130
|
+
{
|
|
2131
|
+
"const": "owned_by",
|
|
2132
|
+
"type": "string"
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
"const": "owed_to",
|
|
2136
|
+
"type": "string"
|
|
2137
|
+
},
|
|
2138
|
+
{
|
|
2139
|
+
"const": "any",
|
|
2140
|
+
"type": "string"
|
|
2141
|
+
},
|
|
2142
|
+
{
|
|
2143
|
+
"const": null,
|
|
2144
|
+
"type": "null"
|
|
2145
|
+
}
|
|
2146
|
+
],
|
|
2147
|
+
"description": "With entity: \"owned_by\" (they promised it), \"owed_to\" (it was promised to them) or \"any\" (default)."
|
|
2148
|
+
},
|
|
2149
|
+
"dueBefore": {
|
|
2150
|
+
"anyOf": [
|
|
2151
|
+
{
|
|
2152
|
+
"type": "string"
|
|
2153
|
+
},
|
|
2154
|
+
{
|
|
2155
|
+
"type": "null"
|
|
2156
|
+
}
|
|
2157
|
+
],
|
|
2158
|
+
"description": "Only commitments due on or before this date (YYYY-MM-DD)."
|
|
2159
|
+
},
|
|
2160
|
+
"entity": {
|
|
2161
|
+
"anyOf": [
|
|
2162
|
+
{
|
|
2163
|
+
"type": "string"
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
"type": "null"
|
|
2167
|
+
}
|
|
2168
|
+
],
|
|
2169
|
+
"description": "A person or organization reference (entN). Default: every commitment."
|
|
2170
|
+
},
|
|
2171
|
+
"limit": {
|
|
2172
|
+
"anyOf": [
|
|
2173
|
+
{
|
|
2174
|
+
"maximum": 9007199254740991,
|
|
2175
|
+
"minimum": -9007199254740991,
|
|
2176
|
+
"type": "integer"
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
"type": "null"
|
|
2180
|
+
}
|
|
2181
|
+
],
|
|
2182
|
+
"description": "Most commitments to return, 1–25. Default 15."
|
|
2183
|
+
},
|
|
2184
|
+
"status": {
|
|
2185
|
+
"anyOf": [
|
|
2186
|
+
{
|
|
2187
|
+
"const": "open",
|
|
2188
|
+
"type": "string"
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
"const": "done",
|
|
2192
|
+
"type": "string"
|
|
2193
|
+
},
|
|
2194
|
+
{
|
|
2195
|
+
"const": "dropped",
|
|
2196
|
+
"type": "string"
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
"const": "superseded",
|
|
2200
|
+
"type": "string"
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"const": "any",
|
|
2204
|
+
"type": "string"
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
"const": null,
|
|
2208
|
+
"type": "null"
|
|
2209
|
+
}
|
|
2210
|
+
],
|
|
2211
|
+
"description": "Commitment status to keep. Default \"open\"; \"any\" keeps all."
|
|
2212
|
+
}
|
|
2213
|
+
},
|
|
2214
|
+
"required": [
|
|
2215
|
+
"entity",
|
|
2216
|
+
"direction",
|
|
2217
|
+
"status",
|
|
2218
|
+
"dueBefore",
|
|
2219
|
+
"limit"
|
|
2220
|
+
],
|
|
2221
|
+
"type": "object"
|
|
2222
|
+
},
|
|
2223
|
+
"strict": true,
|
|
2224
|
+
"type": "function"
|
|
2225
|
+
}
|
|
2226
|
+
]
|
|
2227
|
+
}
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
"method": "stream",
|
|
2231
|
+
"feature": "graph_agent",
|
|
2232
|
+
"model": "gpt-parity-agent",
|
|
2233
|
+
"request": {
|
|
2234
|
+
"input": [
|
|
2235
|
+
{
|
|
2236
|
+
"content": [
|
|
2237
|
+
{
|
|
2238
|
+
"text": "What is Elif Kaya's role at Corvid Health?",
|
|
2239
|
+
"type": "text"
|
|
2240
|
+
}
|
|
2241
|
+
],
|
|
2242
|
+
"role": "user",
|
|
2243
|
+
"type": "message"
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"arguments": "{\"query\":\"What is Elif Kaya's role at Corvid Health?\"}",
|
|
2247
|
+
"callId": "call_parity_1",
|
|
2248
|
+
"name": "search",
|
|
2249
|
+
"type": "function_call"
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
"callId": "call_parity_1",
|
|
2253
|
+
"output": "{\"entities\":[{\"ref\":\"ent1\",\"label\":\"Parity Entity\"}],\"truncated\":false}",
|
|
2254
|
+
"type": "function_call_output"
|
|
2255
|
+
}
|
|
2256
|
+
],
|
|
2257
|
+
"instructions": "You answer questions about the account holder's own knowledge graph, built from their reviewed meeting notes and transcripts. Today is 2026-09-26.\nRules:\n1. Use ONLY information returned by the tools in this turn. If the tools find nothing relevant, say so plainly — never guess or use outside knowledge about these people or companies.\n2. Cite every factual sentence with the markers the tools give you: [^evN] for a source quote (preferred), [^docN] for a transcript or note passage, [^entN] for an entity itself. Never invent a marker. Never print ids.\n3. Start with `search` unless you already hold a reference. For \"when\"/\"as of\" questions pass asOf; dates in the graph are meeting dates.\n4. You are read-only. If asked to change something, explain that the user can edit it on the entity page or in a note's review panel.\n5. Be concise. Use short paragraphs or bullet lists. Do not repeat the question.",
|
|
2258
|
+
"maxOutputTokens": 6096,
|
|
2259
|
+
"reasoning": {
|
|
2260
|
+
"effort": "low"
|
|
2261
|
+
},
|
|
2262
|
+
"toolChoice": "auto",
|
|
2263
|
+
"tools": [
|
|
2264
|
+
{
|
|
2265
|
+
"description": "Find people, organizations, projects and meetings by name, and passages in the user's transcripts and notes that match the query. Use this first when you do not yet have a reference.",
|
|
2266
|
+
"name": "search",
|
|
2267
|
+
"parameters": {
|
|
2268
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2269
|
+
"additionalProperties": false,
|
|
2270
|
+
"properties": {
|
|
2271
|
+
"limit": {
|
|
2272
|
+
"anyOf": [
|
|
2273
|
+
{
|
|
2274
|
+
"maximum": 9007199254740991,
|
|
2275
|
+
"minimum": -9007199254740991,
|
|
2276
|
+
"type": "integer"
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
"type": "null"
|
|
2280
|
+
}
|
|
2281
|
+
],
|
|
2282
|
+
"description": "Results per kind, 1–10. Default 5."
|
|
2283
|
+
},
|
|
2284
|
+
"query": {
|
|
2285
|
+
"description": "What to look for: a name, a topic or a phrase. 1–200 characters.",
|
|
2286
|
+
"type": "string"
|
|
2287
|
+
},
|
|
2288
|
+
"scope": {
|
|
2289
|
+
"anyOf": [
|
|
2290
|
+
{
|
|
2291
|
+
"const": "all",
|
|
2292
|
+
"type": "string"
|
|
2293
|
+
},
|
|
2294
|
+
{
|
|
2295
|
+
"const": "entities",
|
|
2296
|
+
"type": "string"
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
"const": "documents",
|
|
2300
|
+
"type": "string"
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
"const": null,
|
|
2304
|
+
"type": "null"
|
|
2305
|
+
}
|
|
2306
|
+
],
|
|
2307
|
+
"description": "Which results matter most: \"entities\" (names), \"documents\" (passages) or \"all\" (default). Both kinds are always searched; the other kind is just shortened."
|
|
2308
|
+
}
|
|
2309
|
+
},
|
|
2310
|
+
"required": [
|
|
2311
|
+
"query",
|
|
2312
|
+
"scope",
|
|
2313
|
+
"limit"
|
|
2314
|
+
],
|
|
2315
|
+
"type": "object"
|
|
2316
|
+
},
|
|
2317
|
+
"strict": true,
|
|
2318
|
+
"type": "function"
|
|
2319
|
+
},
|
|
2320
|
+
{
|
|
2321
|
+
"description": "Get one entity's type, name, aliases, attributes and counts.",
|
|
2322
|
+
"name": "get_entity",
|
|
2323
|
+
"parameters": {
|
|
2324
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2325
|
+
"additionalProperties": false,
|
|
2326
|
+
"properties": {
|
|
2327
|
+
"entity": {
|
|
2328
|
+
"description": "An entity reference (entN) from an earlier tool result.",
|
|
2329
|
+
"type": "string"
|
|
2330
|
+
}
|
|
2331
|
+
},
|
|
2332
|
+
"required": [
|
|
2333
|
+
"entity"
|
|
2334
|
+
],
|
|
2335
|
+
"type": "object"
|
|
2336
|
+
},
|
|
2337
|
+
"strict": true,
|
|
2338
|
+
"type": "function"
|
|
2339
|
+
},
|
|
2340
|
+
{
|
|
2341
|
+
"description": "List what an entity is connected to, optionally as of a past date.",
|
|
2342
|
+
"name": "neighbors",
|
|
2343
|
+
"parameters": {
|
|
2344
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2345
|
+
"additionalProperties": false,
|
|
2346
|
+
"properties": {
|
|
2347
|
+
"asOf": {
|
|
2348
|
+
"anyOf": [
|
|
2349
|
+
{
|
|
2350
|
+
"type": "string"
|
|
2351
|
+
},
|
|
2352
|
+
{
|
|
2353
|
+
"type": "null"
|
|
2354
|
+
}
|
|
2355
|
+
],
|
|
2356
|
+
"description": "Evaluate the graph as of this date (YYYY-MM-DD). Default: today."
|
|
2357
|
+
},
|
|
2358
|
+
"entity": {
|
|
2359
|
+
"description": "An entity reference (entN).",
|
|
2360
|
+
"type": "string"
|
|
2361
|
+
},
|
|
2362
|
+
"hops": {
|
|
2363
|
+
"anyOf": [
|
|
2364
|
+
{
|
|
2365
|
+
"const": 1,
|
|
2366
|
+
"type": "number"
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
"const": 2,
|
|
2370
|
+
"type": "number"
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
"const": null,
|
|
2374
|
+
"type": "null"
|
|
2375
|
+
}
|
|
2376
|
+
],
|
|
2377
|
+
"description": "How far to walk: 1 (direct connections, default) or 2."
|
|
2378
|
+
},
|
|
2379
|
+
"limit": {
|
|
2380
|
+
"anyOf": [
|
|
2381
|
+
{
|
|
2382
|
+
"maximum": 9007199254740991,
|
|
2383
|
+
"minimum": -9007199254740991,
|
|
2384
|
+
"type": "integer"
|
|
2385
|
+
},
|
|
2386
|
+
{
|
|
2387
|
+
"type": "null"
|
|
2388
|
+
}
|
|
2389
|
+
],
|
|
2390
|
+
"description": "Most nodes to return, 1–50. Default 25."
|
|
2391
|
+
},
|
|
2392
|
+
"relationTypes": {
|
|
2393
|
+
"anyOf": [
|
|
2394
|
+
{
|
|
2395
|
+
"items": {
|
|
2396
|
+
"type": "string"
|
|
2397
|
+
},
|
|
2398
|
+
"type": "array"
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
"type": "null"
|
|
2402
|
+
}
|
|
2403
|
+
],
|
|
2404
|
+
"description": "Walk only these relation types, e.g. [\"WORKS_FOR\", \"REPORTS_TO\"]. Default: all."
|
|
2405
|
+
},
|
|
2406
|
+
"types": {
|
|
2407
|
+
"anyOf": [
|
|
2408
|
+
{
|
|
2409
|
+
"items": {
|
|
2410
|
+
"type": "string"
|
|
2411
|
+
},
|
|
2412
|
+
"type": "array"
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
"type": "null"
|
|
2416
|
+
}
|
|
2417
|
+
],
|
|
2418
|
+
"description": "Keep only these node types, e.g. [\"Person\", \"Organization\"] or item kinds [\"commitment\", \"decision\"]. Default: all."
|
|
2419
|
+
}
|
|
2420
|
+
},
|
|
2421
|
+
"required": [
|
|
2422
|
+
"entity",
|
|
2423
|
+
"hops",
|
|
2424
|
+
"types",
|
|
2425
|
+
"relationTypes",
|
|
2426
|
+
"asOf",
|
|
2427
|
+
"limit"
|
|
2428
|
+
],
|
|
2429
|
+
"type": "object"
|
|
2430
|
+
},
|
|
2431
|
+
"strict": true,
|
|
2432
|
+
"type": "function"
|
|
2433
|
+
},
|
|
2434
|
+
{
|
|
2435
|
+
"description": "List dated events about an entity (decisions, commitments, claims, role and employer changes, meetings), newest first.",
|
|
2436
|
+
"name": "timeline",
|
|
2437
|
+
"parameters": {
|
|
2438
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2439
|
+
"additionalProperties": false,
|
|
2440
|
+
"properties": {
|
|
2441
|
+
"asOf": {
|
|
2442
|
+
"anyOf": [
|
|
2443
|
+
{
|
|
2444
|
+
"type": "string"
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
"type": "null"
|
|
2448
|
+
}
|
|
2449
|
+
],
|
|
2450
|
+
"description": "Only events up to this date (YYYY-MM-DD). Default: today."
|
|
2451
|
+
},
|
|
2452
|
+
"entity": {
|
|
2453
|
+
"description": "An entity reference (entN).",
|
|
2454
|
+
"type": "string"
|
|
2455
|
+
},
|
|
2456
|
+
"kinds": {
|
|
2457
|
+
"anyOf": [
|
|
2458
|
+
{
|
|
2459
|
+
"items": {
|
|
2460
|
+
"type": "string"
|
|
2461
|
+
},
|
|
2462
|
+
"type": "array"
|
|
2463
|
+
},
|
|
2464
|
+
{
|
|
2465
|
+
"type": "null"
|
|
2466
|
+
}
|
|
2467
|
+
],
|
|
2468
|
+
"description": "Keep only these event kinds: commitment, decision, claim, person_fact, relation, meeting. Default: all."
|
|
2469
|
+
},
|
|
2470
|
+
"limit": {
|
|
2471
|
+
"anyOf": [
|
|
2472
|
+
{
|
|
2473
|
+
"maximum": 9007199254740991,
|
|
2474
|
+
"minimum": -9007199254740991,
|
|
2475
|
+
"type": "integer"
|
|
2476
|
+
},
|
|
2477
|
+
{
|
|
2478
|
+
"type": "null"
|
|
2479
|
+
}
|
|
2480
|
+
],
|
|
2481
|
+
"description": "Most events to return, 1–25. Default 15."
|
|
2482
|
+
}
|
|
2483
|
+
},
|
|
2484
|
+
"required": [
|
|
2485
|
+
"entity",
|
|
2486
|
+
"asOf",
|
|
2487
|
+
"kinds",
|
|
2488
|
+
"limit"
|
|
2489
|
+
],
|
|
2490
|
+
"type": "object"
|
|
2491
|
+
},
|
|
2492
|
+
"strict": true,
|
|
2493
|
+
"type": "function"
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"description": "Get the source quotes that support an entity, item or relation. Cite these with [^evN].",
|
|
2497
|
+
"name": "evidence",
|
|
2498
|
+
"parameters": {
|
|
2499
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2500
|
+
"additionalProperties": false,
|
|
2501
|
+
"properties": {
|
|
2502
|
+
"limit": {
|
|
2503
|
+
"anyOf": [
|
|
2504
|
+
{
|
|
2505
|
+
"maximum": 9007199254740991,
|
|
2506
|
+
"minimum": -9007199254740991,
|
|
2507
|
+
"type": "integer"
|
|
2508
|
+
},
|
|
2509
|
+
{
|
|
2510
|
+
"type": "null"
|
|
2511
|
+
}
|
|
2512
|
+
],
|
|
2513
|
+
"description": "Most quotes to return, 1–10. Default 5."
|
|
2514
|
+
},
|
|
2515
|
+
"subject": {
|
|
2516
|
+
"description": "An entity (entN), item (itmN) or relation (relN) reference.",
|
|
2517
|
+
"type": "string"
|
|
2518
|
+
}
|
|
2519
|
+
},
|
|
2520
|
+
"required": [
|
|
2521
|
+
"subject",
|
|
2522
|
+
"limit"
|
|
2523
|
+
],
|
|
2524
|
+
"type": "object"
|
|
2525
|
+
},
|
|
2526
|
+
"strict": true,
|
|
2527
|
+
"type": "function"
|
|
2528
|
+
},
|
|
2529
|
+
{
|
|
2530
|
+
"description": "Get a cited summary of what is new about an entity: what changed, decisions, open commitments, risks and claims, people changes.",
|
|
2531
|
+
"name": "entity_brief",
|
|
2532
|
+
"parameters": {
|
|
2533
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2534
|
+
"additionalProperties": false,
|
|
2535
|
+
"properties": {
|
|
2536
|
+
"asOf": {
|
|
2537
|
+
"anyOf": [
|
|
2538
|
+
{
|
|
2539
|
+
"type": "string"
|
|
2540
|
+
},
|
|
2541
|
+
{
|
|
2542
|
+
"type": "null"
|
|
2543
|
+
}
|
|
2544
|
+
],
|
|
2545
|
+
"description": "Evaluate the brief as of this date (YYYY-MM-DD). Default: today. With it, no stored summary is returned."
|
|
2546
|
+
},
|
|
2547
|
+
"entity": {
|
|
2548
|
+
"description": "An entity reference (entN).",
|
|
2549
|
+
"type": "string"
|
|
2550
|
+
},
|
|
2551
|
+
"since": {
|
|
2552
|
+
"anyOf": [
|
|
2553
|
+
{
|
|
2554
|
+
"type": "string"
|
|
2555
|
+
},
|
|
2556
|
+
{
|
|
2557
|
+
"type": "null"
|
|
2558
|
+
}
|
|
2559
|
+
],
|
|
2560
|
+
"description": "Start of the \"what changed\" window (YYYY-MM-DD). Default: the last 30 days or the last summary."
|
|
2561
|
+
}
|
|
2562
|
+
},
|
|
2563
|
+
"required": [
|
|
2564
|
+
"entity",
|
|
2565
|
+
"since",
|
|
2566
|
+
"asOf"
|
|
2567
|
+
],
|
|
2568
|
+
"type": "object"
|
|
2569
|
+
},
|
|
2570
|
+
"strict": true,
|
|
2571
|
+
"type": "function"
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
"description": "List commitments, optionally for one person or organization, by status and due date.",
|
|
2575
|
+
"name": "list_commitments",
|
|
2576
|
+
"parameters": {
|
|
2577
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2578
|
+
"additionalProperties": false,
|
|
2579
|
+
"properties": {
|
|
2580
|
+
"direction": {
|
|
2581
|
+
"anyOf": [
|
|
2582
|
+
{
|
|
2583
|
+
"const": "owned_by",
|
|
2584
|
+
"type": "string"
|
|
2585
|
+
},
|
|
2586
|
+
{
|
|
2587
|
+
"const": "owed_to",
|
|
2588
|
+
"type": "string"
|
|
2589
|
+
},
|
|
2590
|
+
{
|
|
2591
|
+
"const": "any",
|
|
2592
|
+
"type": "string"
|
|
2593
|
+
},
|
|
2594
|
+
{
|
|
2595
|
+
"const": null,
|
|
2596
|
+
"type": "null"
|
|
2597
|
+
}
|
|
2598
|
+
],
|
|
2599
|
+
"description": "With entity: \"owned_by\" (they promised it), \"owed_to\" (it was promised to them) or \"any\" (default)."
|
|
2600
|
+
},
|
|
2601
|
+
"dueBefore": {
|
|
2602
|
+
"anyOf": [
|
|
2603
|
+
{
|
|
2604
|
+
"type": "string"
|
|
2605
|
+
},
|
|
2606
|
+
{
|
|
2607
|
+
"type": "null"
|
|
2608
|
+
}
|
|
2609
|
+
],
|
|
2610
|
+
"description": "Only commitments due on or before this date (YYYY-MM-DD)."
|
|
2611
|
+
},
|
|
2612
|
+
"entity": {
|
|
2613
|
+
"anyOf": [
|
|
2614
|
+
{
|
|
2615
|
+
"type": "string"
|
|
2616
|
+
},
|
|
2617
|
+
{
|
|
2618
|
+
"type": "null"
|
|
2619
|
+
}
|
|
2620
|
+
],
|
|
2621
|
+
"description": "A person or organization reference (entN). Default: every commitment."
|
|
2622
|
+
},
|
|
2623
|
+
"limit": {
|
|
2624
|
+
"anyOf": [
|
|
2625
|
+
{
|
|
2626
|
+
"maximum": 9007199254740991,
|
|
2627
|
+
"minimum": -9007199254740991,
|
|
2628
|
+
"type": "integer"
|
|
2629
|
+
},
|
|
2630
|
+
{
|
|
2631
|
+
"type": "null"
|
|
2632
|
+
}
|
|
2633
|
+
],
|
|
2634
|
+
"description": "Most commitments to return, 1–25. Default 15."
|
|
2635
|
+
},
|
|
2636
|
+
"status": {
|
|
2637
|
+
"anyOf": [
|
|
2638
|
+
{
|
|
2639
|
+
"const": "open",
|
|
2640
|
+
"type": "string"
|
|
2641
|
+
},
|
|
2642
|
+
{
|
|
2643
|
+
"const": "done",
|
|
2644
|
+
"type": "string"
|
|
2645
|
+
},
|
|
2646
|
+
{
|
|
2647
|
+
"const": "dropped",
|
|
2648
|
+
"type": "string"
|
|
2649
|
+
},
|
|
2650
|
+
{
|
|
2651
|
+
"const": "superseded",
|
|
2652
|
+
"type": "string"
|
|
2653
|
+
},
|
|
2654
|
+
{
|
|
2655
|
+
"const": "any",
|
|
2656
|
+
"type": "string"
|
|
2657
|
+
},
|
|
2658
|
+
{
|
|
2659
|
+
"const": null,
|
|
2660
|
+
"type": "null"
|
|
2661
|
+
}
|
|
2662
|
+
],
|
|
2663
|
+
"description": "Commitment status to keep. Default \"open\"; \"any\" keeps all."
|
|
2664
|
+
}
|
|
2665
|
+
},
|
|
2666
|
+
"required": [
|
|
2667
|
+
"entity",
|
|
2668
|
+
"direction",
|
|
2669
|
+
"status",
|
|
2670
|
+
"dueBefore",
|
|
2671
|
+
"limit"
|
|
2672
|
+
],
|
|
2673
|
+
"type": "object"
|
|
2674
|
+
},
|
|
2675
|
+
"strict": true,
|
|
2676
|
+
"type": "function"
|
|
2677
|
+
}
|
|
2678
|
+
]
|
|
2679
|
+
}
|
|
2680
|
+
}
|
|
2681
|
+
]
|