Created
November 4, 2024 03:33
-
-
Save jgoodie/b9909390550c994708227149a56e2186 to your computer and use it in GitHub Desktop.
Define the llm and the agent state class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
llm = ChatOpenAI(model="gpt-4o", temperature=0) | |
class TavilyState(TypedDict): | |
question: str | |
answer: str | |
context: Annotated[list, operator.add] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment