Documentation ¶
Index ¶
- Constants
- type Match
- type NamespaceConfig
- type Point
- type Qdrant
- func (q *Qdrant) CreateNamespace(uuid string) error
- func (q *Qdrant) NamespaceExists(uuid string) (bool, error)
- func (q *Qdrant) Retrieve(questionEmbedding []float32, topK int, uuid string) ([]vectordb.QueryMatch, error)
- func (q *Qdrant) UpsertEmbeddings(embeddings [][]float32, chunks []chunk.Chunk, uuid string) error
- type SearchResult
Constants ¶
View Source
const ( VECTOR_SIZE = 1536 // ada002 VECTOR_DISTANCE = "Cosine" BATCH_SIZE = 500 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamespaceConfig ¶
type Qdrant ¶
type Qdrant struct { Endpoint string // contains filtered or unexported fields }
func (*Qdrant) CreateNamespace ¶
type SearchResult ¶
Click to show internal directories.
Click to hide internal directories.