mirror of
https://github.com/kennethreitz/instructor.git
synced 2026-06-05 22:50:18 +00:00
format
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user