File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4242
4343# Nodes
4444def generate_query (state : OverallState , config : RunnableConfig ) -> QueryGenerationState :
45- """LangGraph node that generates a search queries based on the User's question.
45+ """LangGraph node that generates search queries based on the User's question.
4646
47- Uses Gemini 2.0 Flash to create an optimized search query for web research based on
47+ Uses Gemini 2.0 Flash to create an optimized search queries for web research based on
4848 the User's question.
4949
5050 Args:
5151 state: Current graph state containing the User's question
5252 config: Configuration for the runnable, including LLM provider settings
5353
5454 Returns:
55- Dictionary with state update, including search_query key containing the generated query
55+ Dictionary with state update, including search_query key containing the generated queries
5656 """
5757 configurable = Configuration .from_runnable_config (config )
5858
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ def get_current_date():
8787- You have access to all the information gathered from the previous steps.
8888- You have access to the user's question.
8989- Generate a high-quality answer to the user's question based on the provided summaries and the user's question.
90- - you MUST include all the citations from the summaries in the answer correctly.
90+ - You MUST include all the citations from the summaries in the answer correctly.
9191
9292User Context:
9393- {research_topic}
You can’t perform that action at this time.
0 commit comments