From 3f901bc8d3b4af97707341f151b85bfc41f005a5 Mon Sep 17 00:00:00 2001 From: Jason Liu Date: Thu, 11 Jan 2024 12:36:44 -0500 Subject: [PATCH] format --- examples/knowledge-graph/run_stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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