barunsaha commited on
Commit
34cb50e
·
1 Parent(s): 3940428

Add documentation on supported LLMs

Browse files
Files changed (1) hide show
  1. global_config.py +10 -11
global_config.py CHANGED
@@ -91,8 +91,7 @@ class GlobalConfig:
91
 
92
  # This is a long text, so not incorporated as a string in `strings.json`
93
  CHAT_USAGE_INSTRUCTIONS = (
94
- 'Briefly describe your topic of presentation in the textbox provided below.'
95
- ' For example:\n'
96
  '- Make a slide deck on AI.'
97
  '\n\n'
98
  'Subsequently, you can add follow-up instructions, e.g.:\n'
@@ -101,22 +100,22 @@ class GlobalConfig:
101
  ' You can also ask it to refine any particular slide, e.g.:\n'
102
  '- Make the slide with title \'Examples of AI\' a bit more descriptive.'
103
  '\n\n'
104
- 'Finally, click on the download button to download the slide deck.'
105
  ' See this [demo video](https://youtu.be/QvAKzNKtk9k) for a brief walkthrough.\n\n'
106
- 'Currently, two LLMs are supported. **Mistral 7B Instruct v0.2** is fast and generates'
107
- ' shorter outputs. On the other hand, **Mistral Nemo Instruct 2407** usually generates'
108
- ' longer outputs but can also be slower. If one is not available, choose the other from'
109
- ' the dropdown list.\n\n'
 
 
 
110
  ' SlideDeck AI does not have access to the Web, apart for searching for images relevant'
111
  ' to the slides. Photos are added probabilistically; transparency needs to be changed'
112
  ' manually, if required.\n\n'
113
  '[SlideDeck AI](https://github.com/barun-saha/slide-deck-ai) is an Open-Source project,'
114
  ' released under the'
115
  ' [MIT license](https://github.com/barun-saha/slide-deck-ai?tab=MIT-1-ov-file#readme).'
116
- ' It is is powered by'
117
- ' [Mistral-Nemo-Instruct-2407](https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407)'
118
- ' and [Mistral 7B v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2).\n\n'
119
- '---\n\n'
120
  '© Copyright 2023-2024 Barun Saha.\n\n'
121
  )
122
 
 
91
 
92
  # This is a long text, so not incorporated as a string in `strings.json`
93
  CHAT_USAGE_INSTRUCTIONS = (
94
+ 'Briefly describe your topic of presentation in the textbox provided below. For example:\n'
 
95
  '- Make a slide deck on AI.'
96
  '\n\n'
97
  'Subsequently, you can add follow-up instructions, e.g.:\n'
 
100
  ' You can also ask it to refine any particular slide, e.g.:\n'
101
  '- Make the slide with title \'Examples of AI\' a bit more descriptive.'
102
  '\n\n'
103
+ 'Finally, click on the download button at the bottom to download the slide deck.'
104
  ' See this [demo video](https://youtu.be/QvAKzNKtk9k) for a brief walkthrough.\n\n'
105
+ 'Currently, three LLMs providers and four LLMs are supported:'
106
+ ' **Mistral 7B Instruct v0.2** and **Mistral Nemo Instruct 2407** via Hugging Face'
107
+ ' Inference Endpoint; **Gemini 1.5 Flash** via Gemini API; and **Command R+** via Cohere'
108
+ ' API. If one is not available, choose the other from the dropdown list. A [summary of'
109
+ ' the supported LLMs]('
110
+ 'https://github.com/barun-saha/slide-deck-ai/blob/main/README.md#summary-of-the-llms)'
111
+ ' is available for reference.\n\n'
112
  ' SlideDeck AI does not have access to the Web, apart for searching for images relevant'
113
  ' to the slides. Photos are added probabilistically; transparency needs to be changed'
114
  ' manually, if required.\n\n'
115
  '[SlideDeck AI](https://github.com/barun-saha/slide-deck-ai) is an Open-Source project,'
116
  ' released under the'
117
  ' [MIT license](https://github.com/barun-saha/slide-deck-ai?tab=MIT-1-ov-file#readme).'
118
+ '\n\n---\n\n'
 
 
 
119
  '© Copyright 2023-2024 Barun Saha.\n\n'
120
  )
121