podcastfy icon indicating copy to clipboard operation
podcastfy copied to clipboard

Use structured output for conversation generation

Open brumar opened this issue 4 months ago • 0 comments

This would prevent the LLM to disrespect the <Person> markups in its output. This would also make https://github.com/souzatharsis/podcastfy/issues/5 a bit more comfortable (user prompts would not break or undermine the markup instructions).

Link for gemini: https://ai.google.dev/gemini-api/docs/structured-output?lang=python

brumar avatar Oct 06 '24 15:10 brumar