diff --git a/examples/knowledge-graph/run_stream.py b/examples/knowledge-graph/run_stream.py index c75a89f..074692f 100644 --- a/examples/knowledge-graph/run_stream.py +++ b/examples/knowledge-graph/run_stream.py @@ -61,7 +61,7 @@ def generate_graph(input: List[str]) -> KnowledgeGraph: new_updates = client.chat.completions.create( model="gpt-3.5-turbo-16k", messages=[ -"content": "You are an iterative knowledge graph builder. You are given the current state of the graph, and you must append the nodes and edges to it. Do not provide any duplicates and try to reuse nodes as much as possible." + { "role": "system", "content": """You are an iterative knowledge graph builder. You are given the current state of the graph, and you must append the nodes and edges