diff options
Diffstat (limited to '')
-rw-r--r-- | docs/providers-and-models.md | 4 | ||||
-rw-r--r-- | g4f/models.py | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/docs/providers-and-models.md b/docs/providers-and-models.md index 9c707e39..ba602728 100644 --- a/docs/providers-and-models.md +++ b/docs/providers-and-models.md @@ -41,7 +41,7 @@ |[gemini.google.com](https://gemini.google.com)|`g4f.Provider.Gemini`|✔|❌|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|✔| |[ai.google.dev](https://ai.google.dev)|`g4f.Provider.GeminiPro`|✔|❌|✔|?|![Active](https://img.shields.io/badge/Active-brightgreen)|✔| |[developers.sber.ru](https://developers.sber.ru/gigachat)|`g4f.Provider.GigaChat`|✔|❌|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|✔| -|[gprochat.com](https://gprochat.com)|`g4f.Provider.GPROChat`|`gemini-pro`|❌|❌|✔|[Active](https://img.shields.io/badge/Active-brightgreen)|❌| +|[gprochat.com](https://gprochat.com)|`g4f.Provider.GPROChat`|`gemini-pro`|❌|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌| |[console.groq.com/playground](https://console.groq.com/playground)|`g4f.Provider.Groq`|✔|❌|❌|?|![Active](https://img.shields.io/badge/Active-brightgreen)|✔| |[huggingface.co/chat](https://huggingface.co/chat)|`g4f.Provider.HuggingChat`|`llama-3.1-70b, command-r-plus, mixtral-8x7b, mixtral-8x7b-dpo, mistral-7b, phi-3-mini-4k`|❌|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌| |[huggingface.co](https://huggingface.co/chat)|`g4f.Provider.HuggingFace`|✔|❌|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌| @@ -147,6 +147,8 @@ |dolphin-2.9.1-llama-3-70b|Cognitive Computations|1+ Providers|[huggingface.co](https://huggingface.co/cognitivecomputations/dolphin-2.9.1-llama-3-70b)| |grok-2-mini|x.ai|1+ Providers|[x.ai](https://x.ai/blog/grok-2)| |grok-2|x.ai|1+ Providers|[x.ai](https://x.ai/blog/grok-2)| +|sonar-online|Perplexity AI|2+ Providers|[docs.perplexity.ai](https://docs.perplexity.ai/)| +|sonar-chat|Perplexity AI|1+ Providers|[docs.perplexity.ai](https://docs.perplexity.ai/)| --- ### ImageModel |Model|Base Provider|Provider|Website| diff --git a/g4f/models.py b/g4f/models.py index 971313cb..8a8d4e18 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -616,16 +616,16 @@ grok_2_mini = Model( best_provider = Liaobots ) -# Perplexity +# Perplexity AI sonar_online = Model( name = 'sonar-online', - base_provider = 'Perplexity', + base_provider = 'Perplexity AI', best_provider = IterListProvider([ChatHub, PerplexityLabs]) ) sonar_chat = Model( name = 'sonar-chat', - base_provider = 'Perplexity', + base_provider = 'Perplexity AI', best_provider = PerplexityLabs ) @@ -948,7 +948,7 @@ class ModelUtils: 'grok-2': grok_2, 'grok-2-mini': grok_2_mini, -### Perplexity ### +### Perplexity AI ### 'sonar-online': sonar_online, 'sonar-chat': sonar_chat, |