Skip to content

littleknitsstory/client-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

client_gpt

The end user can use ClientGPT to communicate with the GT3 model from OpenAI.

install

pip install client_gpt

use

from client_gpt.client_gpt import ClientGPT

api_key = "your_api_key"

model = "your_model_id"

client = ClientGPT(api_key, model)

response_text, message_id, conversation_id = client.ask(prompt='Hello, how are you?', conversation_id=None, previous_convo_id=None)

print(response_text)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages