Documentation ¶
Index ¶
- func GetConnector(ctx context.Context, handler *CohereAIAPIHandler, connectorID string) (*models.Resource, error)
- func GetDataset(ctx context.Context, handler *CohereAIAPIHandler, datasetID string) (*models.Resource, error)
- func GetEmbedJob(ctx context.Context, handler *CohereAIAPIHandler, embedJobID string) (*models.Resource, error)
- func GetFineTunedModel(ctx context.Context, handler *CohereAIAPIHandler, fineTunedModelID string) (*models.Resource, error)
- func GetLoggerFromContext(ctx context.Context) *zap.Logger
- func GetModel(ctx context.Context, handler *CohereAIAPIHandler, modelName string) (*models.Resource, error)
- func GetParameterFromContext(ctx context.Context, key string) any
- func GetTriggerTypeFromContext(ctx context.Context) enums.DescribeTriggerType
- func ListConnectors(ctx context.Context, handler *CohereAIAPIHandler, stream *models.StreamSender) ([]models.Resource, error)
- func ListDatasets(ctx context.Context, handler *CohereAIAPIHandler, stream *models.StreamSender) ([]models.Resource, error)
- func ListEmbedJobs(ctx context.Context, handler *CohereAIAPIHandler, stream *models.StreamSender) ([]models.Resource, error)
- func ListFineTunedModels(ctx context.Context, handler *CohereAIAPIHandler, stream *models.StreamSender) ([]models.Resource, error)
- func ListModels(ctx context.Context, handler *CohereAIAPIHandler, stream *models.StreamSender) ([]models.Resource, error)
- func WithLogger(ctx context.Context, logger *zap.Logger) context.Context
- func WithTriggerType(ctx context.Context, tt enums.DescribeTriggerType) context.Context
- type CohereAIAPIHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConnector ¶
func GetDataset ¶
func GetEmbedJob ¶
func GetFineTunedModel ¶
func GetTriggerTypeFromContext ¶
func GetTriggerTypeFromContext(ctx context.Context) enums.DescribeTriggerType
func ListConnectors ¶
func ListConnectors(ctx context.Context, handler *CohereAIAPIHandler, stream *models.StreamSender) ([]models.Resource, error)
func ListDatasets ¶
func ListDatasets(ctx context.Context, handler *CohereAIAPIHandler, stream *models.StreamSender) ([]models.Resource, error)
func ListEmbedJobs ¶
func ListEmbedJobs(ctx context.Context, handler *CohereAIAPIHandler, stream *models.StreamSender) ([]models.Resource, error)
func ListFineTunedModels ¶
func ListFineTunedModels(ctx context.Context, handler *CohereAIAPIHandler, stream *models.StreamSender) ([]models.Resource, error)
func ListModels ¶
func ListModels(ctx context.Context, handler *CohereAIAPIHandler, stream *models.StreamSender) ([]models.Resource, error)
func WithTriggerType ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.