tl;dr - just trying to get a simple one line document uploaded via api but neither queries via api nor console are picking up on it
What I’ve done:
1.) Created a very simple corpus via API call and added a simple document (single section, one line)). No errors!
2.) If I run a query about the document in the console, there are 0 results. HOWEVER, I noticed the size increased from 0 bytes to ~12, so something happened
Link: Vectara - Semantic Search (Corpus id 4)
3.) . If I attempt to re-add via API it says the document has already been added, guessing it’s definitely there.
{‘status’: {‘code’: ‘ALREADY_EXISTS’, ‘statusDetail’: ‘’, ‘cause’: None}, ‘quotaConsumed’: {‘numChars’: ‘17’, ‘numMetadataChars’: ‘124’}}
4.) I tried uploading a document directly in the UI. This goes through fine and now the search picks up on things. However, the query seems to ignore the document in the answer (document says that zebras are orange; but if I ask about them, the query talks about real world zebra colors).
5.) Finally I tried running the same query via api: got this error, and not sure how to interpret:
{‘code’: 5, ‘message’: ‘Not Found’, ‘details’: }
Questions:
-
Is there a way to get more verbose errors? What does the api call error for query mean?
-
Do you have recommendations on how to debug why programmatically added documents are not showing up? They’re definitely not showing up in console.
-
Will Vectara perform well for tiny documents? I’m building this for a use case where hallucinations are very costly and I just want it to answer using a simple list of facts I’ve given it, while ignoring the real world data it was trained on. Wondering why the full console