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

Struct EmbeddingResponse

pkg/openai/embeddings.go:21–26  ·  view source on GitHub ↗

EmbeddingResponse is the response from a Create embeddings request.

Source from the content-addressed store, hash-verified

19
20// EmbeddingResponse is the response from a Create embeddings request.
21type EmbeddingResponse struct {
22 Object string `json:"object"`
23 Data []Embedding `json:"data"`
24 Model string `json:"model"`
25 Usage Usage `json:"usage"`
26}
27
28type Embedding struct {
29 Object string `json:"object"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected