| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| tasks: |
| - id: u4-read-graph |
| instruction: "Give me everything currently stored in the knowledge graph." |
| tool: read_graph |
| checker: |
| name: call_result_contains |
| args: {index: 0, contains: "Project Falcon"} |
|
|
| - id: u4-search-acme |
| instruction: "Who works at Acme Corp?" |
| tool: search_nodes |
| checker: |
| name: call_result_contains |
| args: {index: 0, contains: "Bob"} |
|
|
| - id: u4-delete-leads-relation |
| instruction: >- |
| There's a record that Alice leads Project Falcon — that's no longer |
| true, delete that specific relation. |
| tool: delete_relations |
| checker: |
| name: file_lacks |
| args: |
| filename: memory.json |
| contains: '"to":"Project Falcon","relationType":"leads"' |
|
|
| - id: u4-open-alice |
| instruction: "What do you know about Alice specifically?" |
| tool: open_nodes |
| checker: |
| name: call_result_contains |
| args: {index: 0, contains: "Berlin"} |
|
|
| - id: u4-open-alice-and-bob |
| instruction: "Look up both Alice and Bob and tell me what's on file for each." |
| tool: open_nodes |
| checker: |
| name: call_result_contains |
| args: {index: 0, contains: "Munich"} |
|
|
| - id: u4-add-bob-hamburg |
| instruction: "Bob just moved to Hamburg — add that as a new fact about him." |
| tool: add_observations |
| checker: |
| name: file_contains |
| args: {filename: memory.json, contains: "Lives in Hamburg"} |
|
|
| - id: u4-create-carol |
| instruction: >- |
| We hired someone new named Carol, a Designer — record her in the |
| system. |
| tool: create_entities |
| checker: |
| name: file_contains |
| args: {filename: memory.json, contains: '"name":"Carol","entityType":"Designer"'} |
|
|
| - id: u4-carol-reports-to-alice |
| instruction: "Record that Carol reports to Alice." |
| tool: create_relations |
| checker: |
| name: file_contains |
| args: |
| filename: memory.json |
| contains: '"from":"Carol","to":"Alice","relationType":"reports_to"' |
|
|
| - id: u4-delete-acme |
| instruction: "Acme Corp doesn't exist anymore — remove it entirely from the graph." |
| tool: delete_entities |
| checker: |
| name: file_lacks |
| args: {filename: memory.json, contains: '"name":"Acme Corp"'} |
|
|
| - id: u4-delete-alice-german |
| instruction: >- |
| Alice has an observation on file that says "Speaks German and |
| English" — remove exactly that fact. |
| tool: delete_observations |
| checker: |
| name: file_lacks |
| args: {filename: memory.json, contains: "Speaks German and English"} |
|
|