Documentation ¶
Index ¶
- Constants
- type GenerativeOpenAIModule
- func (m *GenerativeOpenAIModule) AdditionalProperties() map[string]modulecapabilities.AdditionalProperty
- func (m *GenerativeOpenAIModule) ClassConfigDefaults() map[string]interface{}
- func (m *GenerativeOpenAIModule) Init(ctx context.Context, params moduletools.ModuleInitParams) error
- func (m *GenerativeOpenAIModule) MetaInfo() (map[string]interface{}, error)
- func (m *GenerativeOpenAIModule) Name() string
- func (m *GenerativeOpenAIModule) PropertyConfigDefaults(dt *schema.DataType) map[string]interface{}
- func (m *GenerativeOpenAIModule) RootHandler() http.Handler
- func (m *GenerativeOpenAIModule) Type() modulecapabilities.ModuleType
- func (m *GenerativeOpenAIModule) ValidateClass(ctx context.Context, class *models.Class, cfg moduletools.ClassConfig) error
Constants ¶
View Source
const Name = "generative-openai"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerativeOpenAIModule ¶
type GenerativeOpenAIModule struct {
// contains filtered or unexported fields
}
func New ¶
func New() *GenerativeOpenAIModule
func (*GenerativeOpenAIModule) AdditionalProperties ¶
func (m *GenerativeOpenAIModule) AdditionalProperties() map[string]modulecapabilities.AdditionalProperty
func (*GenerativeOpenAIModule) ClassConfigDefaults ¶
func (m *GenerativeOpenAIModule) ClassConfigDefaults() map[string]interface{}
func (*GenerativeOpenAIModule) Init ¶
func (m *GenerativeOpenAIModule) Init(ctx context.Context, params moduletools.ModuleInitParams, ) error
func (*GenerativeOpenAIModule) MetaInfo ¶
func (m *GenerativeOpenAIModule) MetaInfo() (map[string]interface{}, error)
func (*GenerativeOpenAIModule) Name ¶
func (m *GenerativeOpenAIModule) Name() string
func (*GenerativeOpenAIModule) PropertyConfigDefaults ¶
func (m *GenerativeOpenAIModule) PropertyConfigDefaults( dt *schema.DataType, ) map[string]interface{}
func (*GenerativeOpenAIModule) RootHandler ¶
func (m *GenerativeOpenAIModule) RootHandler() http.Handler
func (*GenerativeOpenAIModule) Type ¶
func (m *GenerativeOpenAIModule) Type() modulecapabilities.ModuleType
func (*GenerativeOpenAIModule) ValidateClass ¶
func (m *GenerativeOpenAIModule) ValidateClass(ctx context.Context, class *models.Class, cfg moduletools.ClassConfig, ) error
Click to show internal directories.
Click to hide internal directories.