Skip to content

Commit

Permalink
fix: engineering prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
seyeong-han committed Nov 24, 2024
1 parent c0a5895 commit 1319973
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,16 @@ async def get_graph_response(text_response, client):
Text to convert:
{text_response}
Expected format:
Expected format example (return only the JSON object, no additional text):
{{
"nodes": [
{{"id": "id1", "name": "Character Name", "val": 10}},
{{"id": id1, "name": "Character Name", "val": 10}}
],
"links": [
{{"source": "id1", "target": "id2"}}
{{"source": id1, "target": "id2"}}
]
}}
id1 and id2 are example variables and you should not generate those exact values.
"""

# Get graph structure from LlamaStack
Expand Down

0 comments on commit 1319973

Please sign in to comment.