Giter Club home page Giter Club logo

chagpt-api-call's People

Contributors

christophezhao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

chagpt-api-call's Issues

配置问题

您好,请问how to run里的requirements.txt在哪里找到,谢谢您的回复!

速度问题

你好,我想请问一下,这个有没有办法提速?我感觉他的回答好慢。我是在国外的用户。

add proxies to overcome connection error

Hi, there appears to be a connection error when it tries to fetch the openai api, how and where can i add a proxy setting to overcome this issue? could you please provide a minimal script? Thanks in advance!

Is there any parameter to modify the temperature?

Thanks for your great work!

I am wondering if there is any parameter to modify the temperature parameter, which controls the diversity of the generated context.

By the way, do you know how to adapt GPT-4's API in your code?

cannot import name 'url_quote' from 'werkzeug.urls'

大佬们这是什么情况啊?。。。

FLASK_APP = ChaGPT-API-Call-main/manager.py
FLASK_ENV = development
FLASK_DEBUG = 0
In folder C:/Users/80909/OneDrive - UTS/Desktop/hf/GPT4
C:\Python312\python.exe -m flask run
Traceback (most recent call last):
File "", line 189, in _run_module_as_main
File "", line 148, in _get_module_details
File "", line 112, in get_module_details
File "C:\Python312\Lib\site-packages\flask_init
.py", line 5, in
from .app import Flask as Flask
File "C:\Python312\Lib\site-packages\flask\app.py", line 30, in
from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (C:\Python312\Lib\site-packages\werkzeug\urls.py). Did you mean: 'unquote'?

Process finished with exit code 1

can't run the file

Hello blogger, I have obtained the API-key of Open AI and deployed and run it according to the steps you provided, but the running results show:‘Traceback (most recent call last):
File "F:\python\files\ChaGPT-API-Call\test.py", line 51, in
chat_test(keys,model_name,request_address,context)
File "F:\python\files\ChaGPT-API-Call\test.py", line 27, in chat_test
response = res.json()['choices'][0]['message']['content']
KeyError: 'choices'’
How can I fix this?

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.