-
import openai
# 替换为你的 OpenAI API 密钥
openai.api_key = "OPENAI_API_KEY"
openai.base_url="https://api.chatanywhere.org"
def chat_with_gpt(prompt):
response = openai.ChatCompletion.create(
…
-
I use these APIs - https://nexra.aryahcr.cc/documentation/chatgpt/en
The server returns an answer only to the first 5-6 questions, then returns an error:
Error: Q {message: 'Network Error', name: …
-
```
Error 20:03:30 notify.error The provider specified as OpenAI compatible is not properly configured.
```
```
provider = 'openai_fim_compatible',
provider_options = {
…
cxwx updated
59 minutes ago
-
im using chat gpt-4o but i get the error SES_UNCAUGHT_EXCEPTION what does this mean?
-
I am trying to do a structured output but I am getting an error. TypeError: You tried to pass a `BaseModel` class to `chat.completions.create()`; You must use `beta.chat.completions.parse()` instead. …
-
### **Describe the bug:**
When opening a new chat, the LLM Connector's default model is not used.
Additionally, the model list only shows pre-configured options and does not show the default model or …
-
### Search before asking
- [X] I had searched in the [issues](https://github.com/eosphoros-ai/DB-GPT/issues?q=is%3Aissue) and found no similar issues.
### Operating system information
Linux
### P…
-
I have this config in doom emacs
```elisp
(setq-default gptel-model 'm-gpt-4o-mini-18072024)
(setq gptel-backend (gptel-make-azure "Azure-1-GPT-4o-mini"
:protocol "https"
…
-
tell me about chat gpt and give me a csv file with a list of prompt for diff uses
-
When using elmer with shinychat, users may have to construct both the message for `shinychat::chat_append_message()` and then separately call `chat$stream()` with the same message, or parts of it.
He…