You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Support for Additional OpenAI Providers](#-support-for-additional-openai-providers)
30
-
-[Mistral API](#mistral-api)**NEW**
30
+
-[Deepseek API](#deepseek-api)**NEW**
31
+
-[Mistral API](#mistral-api)
31
32
-[Azure OpenAI](#azure-openai)
32
33
-[Anyscale](#anyscale)
33
34
-[Run Examples](#-run-examples)
@@ -967,6 +968,19 @@ This exception handling mechanism allows you to handle API errors and provide fe
967
968
## ✴ Support for Additional OpenAI Providers
968
969
Simple-OpenAI can be used with additional providers that are compatible with the OpenAI API. At this moment, there is support for the following additional providers:
969
970
971
+
### Deepseek API
972
+
[Deepseek API](https://api-docs.deepseek.com/) is supported by Simple-OpenAI. We can use the class `SimpleOpenAIDeepseek` to start using this provider.
973
+
```java
974
+
var openai =SimpleOpenAIDeepseek.builder()
975
+
.apiKey(System.getenv("DEEPSEEK_API_KEY"))
976
+
//.baseUrl(customUrl) Optionally you could pass a custom baseUrl
977
+
//.httpClient(customHttpClient) Optionally you could pass a custom HttpClient
978
+
.build();
979
+
```
980
+
Currently we are supporting the following services:
[Mistral API](https://docs.mistral.ai/getting-started/quickstart/) is supported by Simple-OpenAI. We can use the class `SimpleOpenAIMistral` to start using this provider.
972
986
```java
@@ -1079,6 +1093,7 @@ List of the main users of our library:
1079
1093
- [Woolly](https://github.com/da-z/woolly): A code generation IntelliJ plugin.
1080
1094
- [Vinopener](https://github.com/thevinopener/vinopener): A wine recommender app.
1081
1095
- [ScalerX.ai](https://scalerX.ai): A Telegram chatbot factory.
1096
+
- [Katie Backend](https://github.com/wyona/katie-backend): A question-answering platform.
0 commit comments