Skip to content

Commit 0784ff2

Browse files
authored
Merge pull request #186 from Intelligent-Advisor-Sem-4/main
Summery
2 parents e965d43 + 284ebfa commit 0784ff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

API/budget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ async def categorize_transaction(description: str, amount: float, type: str):
115115
async def chat(prompt: str):
116116
"""Endpoint 4: Chat with the LLM"""
117117
print(prompt)
118-
prompt = prompt+" Note- Assume that you are a financial advisor. Only answer the questions related to finance. Other questions should be neglected"
118+
prompt = prompt+" Note- Assume that you are a financial advisor. Only answer the questions related to finance. Other questions should be neglected. Please provide a small summary of the answer."
119119
geminiResponse = generate_content_with_llm(prompt=prompt, llm_provider=LLMProvider.GEMINI,
120120
gemini_model=GeminiModel.FLASH_LITE)
121121
return {

0 commit comments

Comments
 (0)