Nihai Generate Search Endpoint¶
Generate an entry using Perplexity and write it to NihAI. Returns UUID.
Payload:
{"question": str, "collection": str?, "condition_area": str?, "topic": str?, "max_tokens": int?}
Quick Links¶
API Reference¶
Endpoint: POST /search/nihai/generate
Example Usage¶
curl -X POST http://localhost:8000/search/nihai/generate \
-H 'Content-Type: application/json' \
-d '{'query': 'What are symptoms of high blood pressure?', 'max_results': 3}'