mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-10-01 22:15:11 +02:00
Lint
This commit is contained in:
@@ -63,12 +63,7 @@ gpt4 = ChatOpenAI(model="gpt-4")
|
||||
|
||||
# chains
|
||||
|
||||
drafter_chain = (
|
||||
{"question": RunnablePassthrough(input_type=str)}
|
||||
| drafter_prompt
|
||||
| gpt3
|
||||
| StrOutputParser()
|
||||
)
|
||||
drafter_chain = drafter_prompt | gpt3 | StrOutputParser()
|
||||
|
||||
editor_chain = (
|
||||
editor_prompt
|
||||
|
||||
Reference in New Issue
Block a user