Documentation ¶
Overview ¶
Package embedding contains the implementation to create vector embeddings from text using different APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenAI ¶ added in v0.0.6
type OpenAI struct {
// contains filtered or unexported fields
}
func NewOpenAI ¶ added in v0.0.6
func NewOpenAI(apiKey string, optFns ...func(o *OpenAIOptions)) (*OpenAI, error)
func (*OpenAI) EmbedDocuments ¶ added in v0.0.6
type OpenAIOptions ¶ added in v0.0.6
Click to show internal directories.
Click to hide internal directories.