slide-deck-ai / helpers

Commit History

Add support for offline LLMs via Ollama
4184417

barunsaha commited on

Check API keys for proper format
17a0c62

barunsaha commited on

Add missing empty key check for Cohere
aa45cf2

barunsaha commited on

Add support for Cohere
44d6df8

barunsaha commited on

Add support for Gemini 1.5 Flash via Gemini API
cf45a37

barunsaha commited on

Remove leading ```json when cleaning JSON
80a7ca8

barunsaha commited on

Allow users to provide their own HF access token/API key
69fbdcb

barunsaha commited on

Allow users to choose from two different Mistral models
813ce6e

barunsaha commited on

Add more icons
759ba4b

barunsaha commited on

Use BERT mini to generate file name embeddings
dfe9653

barunsaha commited on

Add new icons and embeddings
66aafb1

barunsaha commited on

Fix #31: find & use similar icons when non-existing icon names are generated by the LLM
ed77618

barunsaha commited on

Fix #29: improve JSON handling and keys
c1acf68

barunsaha commited on

Set user-agent for Pexels API call
bb25da3

barunsaha commited on

Disable icon shape's shadow and lower its position
2aef36b

barunsaha commited on

Center-align the text below icons
b655834

barunsaha commited on

Add a slide with icons
e611c5a

barunsaha commited on

Increase the number of images fetched and display probability
e481e40

barunsaha commited on

Prevent the addition of empty slide when the number of steps are too few or many
e819c92

barunsaha commited on

Fix photo link text
085f587

barunsaha commited on

Add a new template (with user-edited master slides); get slide placeholders and index properly for this new template
eda1694

barunsaha commited on

Mute urllib3 log messages
71518f2

barunsaha commited on

Update function signature
7bf36e8

barunsaha commited on

Increase LLM request timeout
4bd6659

barunsaha commited on

Probabilistically add background & foreground images to some of the slides
437156d

barunsaha commited on

Update signatures of the content display functions and fix empty bullet point at the beginning to text placeholders
008172e

barunsaha commited on

Add slide with double column layout
f04f0b2

barunsaha commited on

Relax shape display condition and adjust shape width
4396061

barunsaha commited on

Address scenario where a step does not begin with the designated marker
2c68fcd

barunsaha commited on

Avoid adding shapes when there are too many bullet points
59502a0

barunsaha commited on

Fix problems with prior commits
e065b20

barunsaha commited on

Remove print
da55c2a

barunsaha commited on

Move text utility functions to a separate module
57daf6a

barunsaha commited on

Close temp files after opening
1189403

barunsaha commited on

Update chat history in prompts, segregate the prompts, add retry to HF API call, and update configs
e690364

barunsaha commited on

Reorganize files and set logging format globally
9c0dccd

barunsaha commited on