Usage
Try with curl example 🔗
curl https://api.natlang.io/api/v1/ground?query=how+many+astronauts+in+space
Headers for authentication 🔗
To consume grounding points when the cached response does not exist, the API key can be sent in which ever way is easiest for the AI client.
NATLANG_API_KEY
headerX-API-KEY
headerAuthorization
header,Bearer $apiKey
Use with open-webui
🔗
Navigate to /admin/settings/tools
in your OpenWebUI admin dashboard. Click the +
to add a new Tool Server.
In the “API Base URL” input, use https://api.natlang.io
with openapi.json
path. Name can be “NatLang Grounding API” Description “Grounding API”
You should see the following text if you configured it properly:
WebUI will make requests to "https://api.natlang.io/openapi.json"
You can then put your API key in the Auth field (Bearer) to begin consuming points for new responses.
Use with Python or ollama
🔗
See our Github for example python scripts to get started quickly.
Frequently Asked Questions 🔗
See our FAQ page.
More information 🔗
See our Documentation page for links to more resources.