MCPcopy Create free account
hub / github.com/coderabbit214/document-ai / Embedding

Struct Embedding

pkg/openai/embeddings.go:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28type Embedding struct {
29 Object string `json:"object"`
30 Embedding []float64 `json:"embedding"`
31 Index int `json:"index"`
32}
33
34// SendEmbeddings returns an EmbeddingResponse
35func SendEmbeddings(request EmbeddingRequest) (embeddingResponse EmbeddingResponse, err error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected