Skip to content

Commit 23f6aa5

Browse files
authored
Merge pull request #35 from dkqjrm/chore/typo
fix(docs): Correct typos and grammatical inconsistencies in docstrings/prompts
2 parents 3214a7e + 3da4c4e commit 23f6aa5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

backend/src/agent/graph.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@
4242

4343
# Nodes
4444
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.
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

backend/src/agent/prompts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
9292
User Context:
9393
- {research_topic}

0 commit comments

Comments
 (0)