-
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 { …
-
### Describe the bug
I'm getting an error returned when attempting a chat request.
System.Net.Http.HttpRequestException : {
"error": {
"message": "Invalid value for 'tool_choice': 'tool_ch…
-
It is possible to specify a base URL with retrofit as follows:
```java
var retrofit = OpenAiService.defaultRetrofit(client, om)
.newBuilder()
.baseUrl("https://api.groq.com…
-
I'm trying to use this library with an Azure OpenIA resource.
I'm using the example in the readme: `OpenAIAPI api = OpenAIAPI.ForAzure("YourResourceName", "deploymentId", "api-key");`, but Url create…
-
I am trying to connect to Azure using OpenAIAPI. However, despite my deployment ID and resourcename being correct, I am encountering the following error:
**System.AggregateException**
'One or more…
-
When we create a chat, we should have the option to add headers, like:
```
import { Configuration, OpenAIApi } from "openai";
const configuration = new Configuration({
apiKey: process.env.OP…
-
ObjectMapper mapper = defaultObjectMapper();
Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(host, port));
OkHttpClient client = defaultClient(token, timeout)
.newBuilder()
…
-
```
public class CustomOpenAiService extends OpenAiService {
private final ExecutorService executorService;
private final String openaiBaseUrl = "https://YOU_URL";
public CustomOpenA…
-
When I make vectorization embedding requests using Ollama, it takes a long time due to the performance issues of the server where Ollama is hosted. Therefore, I used `CompletableFuture` for asynchrono…
-
![image](https://github.com/user-attachments/assets/34b09e38-442a-4fd7-86d6-1943931f80c1)
# 希望可以推荐使用的 python 版本:
我不知道是不是因为限制了 lmdeploy==0.5.3,导致 3.13 的 conda 环境安装 lmdeploy 失败。
ERROR: Could not fi…