79330441

Date: 2025-01-05 08:57:54
Score: 1
Natty:
Report link

Looks like a typing error helped to find the answer myself!

collection.query(query_texts = ['first query', 'second query'])

allows to enter multiple querytexts, which lead to multiple results. Therefore the results contains

{'ids': [[results for first query], [results for second query] ...}

On the other hand

collection.get()

returns a single list of documents to return.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Richard