feedback {oaii} | R Documentation |
Feedback - ask chat and receive reply
Description
Simple chat_request wrapper - send text to chat and get response.
Usage
feedback(question, model = "gpt-3.5-turbo", max_tokens = NULL, print = TRUE)
Arguments
question |
string, question text |
model |
string, ID of the model to use. See the model endpoint compatibility table https://platform.openai.com/docs/models/model-endpoint-compatibility for details on which models work with the Chat API. |
max_tokens |
NULL/int, the maximum number of tokens to generate in the chat completion |
print |
flag, If TRUE, print the answer on the console |
Value
string, chat answer
[Package oaii version 0.5.0 Index]