0.0.4 • Published 1 year ago
wbb-openai v0.0.4
WBB OpenAI
With this integration you can search in OpenAI.
Blocks Provided
Provide a list of the blocks provided as part of this integration. This should be a list of block name, and its description.
Block Name | Purpose |
---|---|
Search OpenAI | Function block with OpenAI form to show the response from searching. |
Openai error | It will be returned in case of an error occur while getting the response. |
Handler Names
The following handler names and their functions are available :
Handler Name | Purpose |
---|---|
search | When the OpenAI form is filled, it will return the response. |
Configuration Options
( Provide a list of the configuration options for each of the handlers mentioned above )
Within the function there are a number of options that can be set to configure the behaviour of the integration. The tables below show the settings that are available for each handler.
search
Property | Required | Description |
---|---|---|
apiKey | true | The API key from OpenAI |
model | true | The OpenAI model to do the completion |
disclaimer | false | Disclaimer message shown before the result from OpenAI |
showMenuChoice | false | Defaults to true, if set to false it won't show the Back to Menu choice |