BF Streaming API
The BetterForms Streaming API allows real time streaming of responses from LLM services like OpenAI To be initiated.
Overview
Creating a call to this service will create a post to the LLM and stream results back to the appropriate channel. This service is in beta release as of the time of this document.
Avail in bf-staging only
Key | Type | Description |
---|---|---|
| string | Unique API key for BF (find in app settings) |
| array | Array of BF Messaging communication channels |
| string | Name of the action to be performed |
| string | Name of the service to be used (OpenAI) |
| object | Object containing parameters for the action, this contains params that are passed on to the streaming service |
| string | Unique API key for the streaming service |
| bool | Indicator if streaming is enabled, if disabled, result is returned directly to the POST result |
| array | Array of functions to be executed |
| number | Maximum number of tokens for the response |
| number | Seed for the random number generator |
| array | Array of messages to be processed |
| string | Model to be used for processing |
| number | Parameter controlling randomness in output |
Last updated