slide-deck-ai / llm_helper.py

Commit History

Enable debug messages
469fc38

barunsaha commited on

Switch to Mistral-7B-Instruct-v0.1; invoke HF API end-point directly
724babe

barunsaha commited on

Use GPT-4 for text generation. Disable image generation.
7b01107

barunsaha commited on

Use a form, a button, and a single LLM call to generate contents in JSON format. Disable image generation.
e55d16a

barunsaha commited on

Add logging; replace all print statements
aa4f694

barunsaha commited on

Add image generated by AI; also bring back the manual step for JSON step, in case a network timeout occurs
8537019

barunsaha commited on

Convert slide contents into JSON automatically without requiring a button click
c8feae1

barunsaha commited on

Cache external API calls
f845b93

barunsaha commited on

Add bonus contents (search results on the topic) & mini ToS
c6643c7

barunsaha commited on

Add code for the first version
3e68ccf

barunsaha commited on