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 42
42
43
43
# Nodes
44
44
def 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.
46
46
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
48
48
the User's question.
49
49
50
50
Args:
51
51
state: Current graph state containing the User's question
52
52
config: Configuration for the runnable, including LLM provider settings
53
53
54
54
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
56
56
"""
57
57
configurable = Configuration .from_runnable_config (config )
58
58
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ def get_current_date():
87
87
- You have access to all the information gathered from the previous steps.
88
88
- You have access to the user's question.
89
89
- 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.
91
91
92
92
User Context:
93
93
- {research_topic}
You can’t perform that action at this time.
0 commit comments