Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Source string `json:"source" yaml:"source"` TargetField string `json:"target_field" yaml:"target_field"` StreamName string `json:"stream_name" yaml:"stream_name"` Endpoint string `json:"endpoint" yaml:"endpoint"` Method string `json:"method" yaml:"method"` Auth Auth `json:"auth" yaml:"auth"` }
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func NewHttpPlugin ¶
func NewHttpPlugin(appctx *stream_context.Context, config Config) (*Plugin, error)
func (*Plugin) EvolveSchema ¶
func (p *Plugin) EvolveSchema(streamSchema *schema.StreamSchemaObj) error
EvolveSchema will add a string column to the schema in order to store OpenAI response
Click to show internal directories.
Click to hide internal directories.