We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this is the example i found in the tutorial, if i have list of messages how to call prompt() ?
response = model.prompt("<can i put list of json messages here>")
below is example when i use openai library
messages = [ {"role": "system", "content": "message 1"}, {"role": "user", "content": "message 2"} {"role": "assistant", "content": "message 3"} {"role": "user", "content": "message 4"} ] response = openai.ChatCompletion.create( model="gpt-3.5-turbo", messages=messages )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
this is the example i found in the tutorial, if i have list of messages how to call prompt() ?
below is example when i use openai library
The text was updated successfully, but these errors were encountered: