mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-04 20:46:45 +00:00
Harrison/add huggingface hub (#23)
Add support for huggingface hub I could not find a good way to enforce stop tokens over the huggingface hub api - that needs to hopefully be cleaned up in the future
This commit is contained in:
@@ -38,6 +38,9 @@ The following use cases require specific installs and environment variables:
|
||||
- *Cohere*:
|
||||
- Install requirements with `pip install cohere`
|
||||
- Set the following environment variable: `COHERE_API_KEY`
|
||||
- *HuggingFace Hub*
|
||||
- Install requirements with `pip install huggingface_hub`
|
||||
- Set the following environment variable: `HUGGINGFACEHUB_API_TOKEN`
|
||||
- *SerpAPI*:
|
||||
- Install requirements with `pip install google-search-results`
|
||||
- Set the following environment variable: `SERPAPI_API_KEY`
|
||||
|
Reference in New Issue
Block a user