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
I was wondering if it is possible to use the content filter with the complete function?
https://beta.openai.com/docs/content-filter According to the documentation, you should be able to just reference the engine and set the options, see example.
Example;
contentFilter: async function(prompt){ let gpt3_options = { prompt: prompt, engine: 'content-filter-alpha-c4', maxTokens: 1, temperature: 0.0, topP: 0 } let gpt3_repsonse = await openai.complete(gpt3_options) return await gpt3_response }
Error;
UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
The text was updated successfully, but these errors were encountered:
Nevermind, all works as supposed to. I was referencing the wrong function.
Sorry, something went wrong.
can you post the solution? I am facing the same issue.
No branches or pull requests
I was wondering if it is possible to use the content filter with the complete function?
https://beta.openai.com/docs/content-filter
According to the documentation, you should be able to just reference the engine and set the options, see example.
Example;
Error;
The text was updated successfully, but these errors were encountered: