Spaces:
Sleeping
Sleeping
Commit
·
fd965f0
1
Parent(s):
ea56a51
add
Browse files
agentgraph/methods/production/openai_structured_extractor.py
CHANGED
|
@@ -91,7 +91,7 @@ For each entity provide:
|
|
| 91 |
- name: descriptive name
|
| 92 |
- importance: HIGH, MEDIUM, or LOW
|
| 93 |
- raw_prompt: actual prompt/specification content that defines this entity
|
| 94 |
-
- raw_prompt_ref: list of content references
|
| 95 |
|
| 96 |
For each relation provide:
|
| 97 |
- id: unique identifier
|
|
@@ -99,7 +99,9 @@ For each relation provide:
|
|
| 99 |
- type: one of the types above
|
| 100 |
- importance: HIGH, MEDIUM, or LOW
|
| 101 |
- interaction_prompt: runtime evidence showing this relationship occurred
|
| 102 |
-
- interaction_prompt_ref: list of content references
|
|
|
|
|
|
|
| 103 |
|
| 104 |
Also provide system_name and system_summary for the overall system.
|
| 105 |
|
|
|
|
| 91 |
- name: descriptive name
|
| 92 |
- importance: HIGH, MEDIUM, or LOW
|
| 93 |
- raw_prompt: actual prompt/specification content that defines this entity
|
| 94 |
+
- raw_prompt_ref: list of content references ONLY if <L#> markers are present in the input. If no <L#> markers, use empty list []
|
| 95 |
|
| 96 |
For each relation provide:
|
| 97 |
- id: unique identifier
|
|
|
|
| 99 |
- type: one of the types above
|
| 100 |
- importance: HIGH, MEDIUM, or LOW
|
| 101 |
- interaction_prompt: runtime evidence showing this relationship occurred
|
| 102 |
+
- interaction_prompt_ref: list of content references ONLY if <L#> markers are present in the input. If no <L#> markers, use empty list []
|
| 103 |
+
|
| 104 |
+
IMPORTANT: Only create content references when you see explicit <L#> line markers in the input text. Do not invent line numbers.
|
| 105 |
|
| 106 |
Also provide system_name and system_summary for the overall system.
|
| 107 |
|