create_completion(
model = "text-davinci-002",
prompt = "Say this is a test",
max_tokens = 5
)
logit_bias <- list(
"11" = -100,
"13" = -100
)
create_completion(
model = "ada",
prompt = "Generate a question and an answer",
n = 4,
best_of = 4,
logit_bias = logit_bias
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.