MCPcopy Create free account
hub / github.com/Stylsheets/TaskEaseGPT / QueryRequest

Struct QueryRequest

golang/internal/memory/pinecone/pinecone.go:106–115  ·  view source on GitHub ↗

Query

Source from the content-addressed store, hash-verified

104// Query
105
106type QueryRequest struct {
107 Namespace string `json:"namespace"`
108 TopK int64 `json:"topK"`
109 Filter map[string]string `json:"filter,omitempty"`
110 IncludeValues bool `json:"includeValues"`
111 IncludeMetadata bool `json:"includeMetadata"`
112 Vector []float32 `json:"vector"`
113 SparseVector *SparseVector `json:"sparseVector,omitempty"`
114 ID string `json:"id"`
115}
116
117type SparseVector struct {
118 Indices []int64 `json:"indices"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected