Nihai Objects Search Endpoint¶
Create a NihAI object and return its UUID.
Accepts either of:
- {"collection": "NihAI", "entry": {question, answer?, references?, is_verified?, is_active?, approvers?, source?, accuracy_confidence?, condition_area?, topic?}}
- {question, answer?, ... , "collection": "NihAI"} (top-level entry fields)
Quick Links¶
API Reference¶
Endpoint: POST /search/nihai/objects
Example Usage¶
curl -X POST http://localhost:8000/search/nihai/objects \
-H 'Content-Type: application/json' \
-d '{'query': 'What are symptoms of high blood pressure?', 'max_results': 3}'