46 lines
1.4 KiB
JSON
46 lines
1.4 KiB
JSON
{
|
|
"generate_cypher.predict": {
|
|
"traces": [],
|
|
"train": [],
|
|
"demos": [],
|
|
"signature": {
|
|
"instructions": "Instructions:\nCreate a Cypher MERGE statement to model all entities and relationships found in the text following these guidelines:\n- Refer to the provided schema and use existing or similar nodes, properties or relationships before creating new ones.\n- Use generic categories for node and relationship labels.",
|
|
"fields": [
|
|
{
|
|
"prefix": "Text:",
|
|
"description": "Text to model using nodes, properties and relationships."
|
|
},
|
|
{
|
|
"prefix": "Neo 4 J Schema:",
|
|
"description": "Current graph schema in Neo4j as a list of NODES and RELATIONSHIPS."
|
|
},
|
|
{
|
|
"prefix": "Reasoning: Let's think step by step in order to",
|
|
"description": "${reasoning}"
|
|
},
|
|
{
|
|
"prefix": "Statement:",
|
|
"description": "Cypher statement to merge nodes and relationships found in the text."
|
|
}
|
|
]
|
|
},
|
|
"lm": {
|
|
"model": "openai/gpt-4o",
|
|
"model_type": "chat",
|
|
"cache": true,
|
|
"num_retries": 3,
|
|
"finetuning_model": null,
|
|
"launch_kwargs": {},
|
|
"train_kwargs": {},
|
|
"temperature": null,
|
|
"max_tokens": 1024
|
|
}
|
|
},
|
|
"metadata": {
|
|
"dependency_versions": {
|
|
"python": "3.13",
|
|
"dspy": "3.0.4",
|
|
"cloudpickle": "3.1"
|
|
}
|
|
}
|
|
} |