MCPcopy
hub / github.com/openai/chatgpt-retrieval-plugin / _query

Method _query

datastore/datastore.py:68–72  ·  view source on GitHub ↗

Takes in a list of queries with embeddings and filters and returns a list of query results with matching document chunks and scores.

(self, queries: List[QueryWithEmbedding])

Source from the content-addressed store, hash-verified

66
67 @abstractmethod
68 async def _query(self, queries: List[QueryWithEmbedding]) -> List[QueryResult]:
69 """
70 Takes in a list of queries with embeddings and filters and returns a list of query results with matching document chunks and scores.
71 """
72 raise NotImplementedError
73
74 @abstractmethod
75 async def delete(

Callers 15

queryMethod · 0.95
test_queryFunction · 0.45
test_queryFunction · 0.45
test_query_scoreFunction · 0.45
test_query_filterFunction · 0.45
test_deleteFunction · 0.45
test_delete_allFunction · 0.45

Calls

no outgoing calls