Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

remove conversational-task

Victor Mustar (aider)f65ceef46af0
diff --git a/docs/my-website/docs/providers/huggingface.md b/docs/my-website/docs/providers/huggingface.md
index cf3ae5f2397..4620a6c5d2f 100644
--- a/docs/my-website/docs/providers/huggingface.md
+++ b/docs/my-website/docs/providers/huggingface.md
@@ -82,74 +82,6 @@ curl --location 'http://0.0.0.0:4000/chat/completions' \
}'
```
-</TabItem>
-</Tabs>
-</TabItem>
-<TabItem value="conv" label="Conversational-task (BlenderBot, etc.)">
-
-Append `conversational` to the model name
-
-e.g. `huggingface/conversational/<model-name>`
-
-<Tabs>
-<TabItem value="sdk" label="SDK">
-
-```python
-import os
-from litellm import completion
-
-# [OPTIONAL] set env var
-os.environ["HUGGINGFACE_API_KEY"] = "huggingface_api_key"
-
-messages = [{ "content": "There's a llama in my garden 😱 What should I do?","role": "user"}]
-
-# e.g. Call 'facebook/blenderbot-400M-distill' hosted on HF Inference endpoints
-response = completion(
- model="huggingface/conversational/facebook/blenderbot-400M-distill",
- messages=messages,
- api_base="https://my-endpoint.huggingface.cloud"
-)
-
-print(response)
-```
-
-</TabItem>
-<TabItem value="proxy" label="PROXY">
-
-1. Add models to your config.yaml
-
-```yaml
-model_list:
- - model_name: blenderbot
- litellm_params:
- model: huggingface/conversational/facebook/blenderbot-400M-distill
- api_key: os.environ/HUGGINGFACE_API_KEY
- api_base: "https://my-endpoint.endpoints.huggingface.cloud"
-```
-
-2. Start the proxy
-
-```bash
-$ litellm --config /path/to/config.yaml --debug
-```
-
-3. Test it!
-
-```shell
-curl --location 'http://0.0.0.0:4000/chat/completions' \
- --header 'Authorization: Bearer sk-1234' \
- --header 'Content-Type: application/json' \
- --data '{
- "model": "blenderbot",
- "messages": [
- {
- "role": "user",
- "content": "I like you!"
- }
- ],
-}'
-```
-
</TabItem>
</Tabs>
</TabItem>