mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-22 06:18:14 +00:00
Update Huggingface API key name to HF_TOKEN in documentation
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -600,14 +600,13 @@ Learn how to get the most out of your LLM configuration:
|
|||||||
|
|
||||||
<Accordion title="Hugging Face">
|
<Accordion title="Hugging Face">
|
||||||
```python Code
|
```python Code
|
||||||
HUGGINGFACE_API_KEY=<your-api-key>
|
HF_TOKEN=<your-api-key>
|
||||||
```
|
```
|
||||||
|
|
||||||
Example usage:
|
Example usage:
|
||||||
```python Code
|
```python Code
|
||||||
llm = LLM(
|
llm = LLM(
|
||||||
model="huggingface/meta-llama/Meta-Llama-3.1-8B-Instruct",
|
model="huggingface/meta-llama/Meta-Llama-3.1-8B-Instruct"
|
||||||
base_url="your_api_endpoint"
|
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|||||||
Reference in New Issue
Block a user