Huggingface
Configure Huggingface as a custom endpoint in IntelliAsk.
Huggingface exposes hosted models through an OpenAI-compatible inference API, which you can add to IntelliAsk as a custom endpoint.
Get an API key
Create a token at huggingface.co/settings/tokens. Add it to your .env file:
Configuration
Add the endpoint to the custom list under endpoints in your intelliask.yaml. If your file already has an endpoints.custom list, paste only the - name: entry into it, keeping the same indentation:
The model list above was last updated on May 09, 2024.
Notes
- The listed models are free but rate limited, and answers can be very short on the free tier. Some models work better than others.
- Fetching the model list is not supported, so set the
defaultarray yourself. dropParams: ["top_p"]is required. Without it, requests fail because Huggingface rejects thetop_pparameter. SeedropParams.
Last updated on