refactor: Improve handling of optional fields and enhance compatibility score calculations
This commit is contained in:
@@ -26,7 +26,7 @@ class QueryProcessor:
|
||||
self.llm = ChatOpenAI(
|
||||
api_key=OPENROUTER_API_KEY,
|
||||
base_url="https://openrouter.ai/api/v1",
|
||||
model="openai/gpt-5-nano",
|
||||
model="openai/gpt-4o-mini",
|
||||
temperature=0,
|
||||
)
|
||||
self.agent = create_react_agent(
|
||||
@@ -107,6 +107,8 @@ class QueryProcessor:
|
||||
- If you cannot find sufficient data after searching, make reasonable inferences based on available information
|
||||
- DO NOT state that data is unavailable or ambiguous - provide the best analysis possible with what you find
|
||||
- Focus on ACTIONABLE insights, not disclaimers
|
||||
- Only call the tool twice at most, be strategic in your searches
|
||||
- Summarize your findings concisely and clearly
|
||||
|
||||
Provide insights in the InsightResponse schema format:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user