-
The ollama api should be callable using the OpenAIApi and just changing the API Host to point to the ollama serv location, but ollama streams by default and i think this is causing it to fail with Gla…
-
[[问题描述
简要描述您碰到的问题。
class com.alibaba.fastjson2.JSONObject cannot be cast to class org.springframework.ai.openai.api.OpenAiApi$Embedding (com.alibaba.fastjson2.JSONObject and org.springframework.ai.o…
-
[Question] How can I integrate a third-party API? Is it enough to change the client.base_url in config.py to the URL of the third-party API, such as client.base_url = "https://api.example.com" ? Do I…
-
Another member of our team is able to access an OpenRouter model using his Python client. Here are the parameters (in Java-speak).
```
String userKey = "";
String model = "mistralai/mistral-7b-ins…
-
Please do a quick search on GitHub issues first, there might be already a duplicate issue for the one you are about to create.
If the bug is trivial, just go ahead and create the issue. Otherwise, pl…
-
Hi, when using this library, I encountered following problem:
My Code:
```node const handler = async (req: NextRequest) => {
const reqBody = await req.json();
const openAIApi = new OpenAIApi…
-
As of 04/01/2024, many models have been deprecated as per [Deprecations](https://platform.openai.com/docs/deprecations)
This plugin therefore needs a spring-cleaning to cull deprecated models and a…
-
JsonSerializationException: No JSON content found and type 'OpenAI.CreateAudioResponse' is not nullable. Path '', line 0, position 0.
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deseri…
-
'OpenAIAPI' initializer is inaccessible due to 'internal' protection level
'OpenAIAPIConfig' initializer is inaccessible due to 'internal' protection level
Errors follows this line :
let openAI …
-
Hey guys, I have had an error for the past few hours related to the gpt.ts file configuration and after inspecting through the setup, I noticed that this:
The initial `openai` setup:
`import { …