Code Monkey home page Code Monkey logo

Comments (5)

MIL-VLG avatar MIL-VLG commented on September 23, 2024

see #18

from prophet.

hc0527 avatar hc0527 commented on September 23, 2024

see #18

Thank you for your answer. Could you please give me more details? I have hung the ladder but still report the same error.

from prophet.

ParadoxZW avatar ParadoxZW commented on September 23, 2024

Can following scripts work normally on your machine?

import os
import openai

# Load your API key from an environment variable or secret management service
openai.api_key = os.getenv("OPENAI_API_KEY")

response = openai.Completion.create(model="text-davinci-003", prompt="Say this is a test", temperature=0, max_tokens=7)

from prophet.

hc0527 avatar hc0527 commented on September 23, 2024

Hello dear author, thank you for your patient answer. I tried your code and it reported a similar error to the original one. Do you have any solution? Thank you for your patience and guidance!
屏幕截图 2023-03-29 144238

from prophet.

ParadoxZW avatar ParadoxZW commented on September 23, 2024

Do you set the system environment correctly (by command like export https_proxy='xxxxxxxxxxxx')?
If yes, you may need another proxy server.

from prophet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.