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
The text was updated successfully, but these errors were encountered:
zxjhellow2
changed the title
请问遇到这个问题如何解决http://localhost:8090/可以打开,但是遇到 openai.error.APIError: Invalid response object from API: 'Internal Server Error' (HTTP response code was 500)
请问,http://localhost:8090/可以打开,,遇到这个问题如何解决, openai.error.APIError: Invalid response object from API: 'Internal Server Error' (HTTP response code was 500)
Mar 3, 2024
zxjhellow2
changed the title
请问,http://localhost:8090/可以打开,,遇到这个问题如何解决, openai.error.APIError: Invalid response object from API: 'Internal Server Error' (HTTP response code was 500)
请问,http://localhost:8090/可以打开,遇到这个问题如何解决, openai.error.APIError: Invalid response object from API: 'Internal Server Error' (HTTP response code was 500)
Mar 3, 2024
import openai
openai.api_key = "7c7aa4a3549f5"
openai.api_base = "http://localhost:8090/v1"
completion = openai.ChatCompletion.create(
model="gpt-3.5-turbo", messages=[{"role": "user", "content": "Hello world"}])
print(completion.choices[0].message.content)
The text was updated successfully, but these errors were encountered: