After watching this video video, you will know How to use ChatGPT In CMD or Terminal + Without VPN.
1. Install Python
2. Install OpenAI: pip install openai
Create a yourpython.py file in your folder, and paste this code in it.
Import Library
import openai
Provide an API key
openai.api_key = "Your_Key"
Choosing a trained model
engine="text-davinci-003"
Your question
prompt = "Назови лучшую Python библиотеку по машинному обучению"
Модель
completion = openai.Completion.create(engine=engine,
prompt=prompt,
temperature=0.5,
max_tokens=1000)
Get the output
print( completion.choices[0]['text'] )
У меня был такой ответ:
Scikit-learn.
Watch video How to use ChatGPT In CMD or Terminal + Without VPN online without registration, duration hours minute second in high quality. This video was added by user Kerim Tim. 07 April 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 355 once and liked it 6 people.