💩(summary) fix temporarily the summary microservice
The new endpoint requires title and content, breaking the original implementation. This hotfix ensures staging works immediately while I plan an LLM-based solution for title generation.
This commit is contained in:
committed by
aleb_the_flash
parent
cdd69b741a
commit
64cfcb6c0f
@@ -125,8 +125,10 @@ def process_audio_transcribe_summarize(filename: str, email: str, sub: str):
|
||||
summary = summary_response.choices[0].message.content
|
||||
logger.debug("Summary: \n %s", summary)
|
||||
|
||||
# fixme - generate a title using LLM
|
||||
data = {
|
||||
"summary": summary,
|
||||
"title": "Votre résumé",
|
||||
"content": summary,
|
||||
"email": email,
|
||||
"sub": sub,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user