Fix: Rename call_gemini_flash to call_gemini_api and add temperature parameter
This commit is contained in:
@@ -95,7 +95,7 @@ def generate_insight(db: Session, meeting_id: int, insight_type: str) -> databas
|
||||
db.commit()
|
||||
|
||||
try:
|
||||
generated_text = call_gemini_flash(prompt=final_prompt, temperature=0.5)
|
||||
generated_text = call_gemini_api(prompt=final_prompt, temperature=0.5)
|
||||
|
||||
# 5. Store the new insight
|
||||
new_insight = database.AnalysisResult(
|
||||
|
||||
Reference in New Issue
Block a user