mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 09:58:04 +08:00
Feat/huggingface embedding support (#1211)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
This commit is contained in:
@ -16,7 +16,7 @@ class HuggingFaceHubLLM(HuggingFaceHub):
|
||||
environment variable ``HUGGINGFACEHUB_API_TOKEN`` set with your API token, or pass
|
||||
it as a named parameter to the constructor.
|
||||
|
||||
Only supports `text-generation`, `text2text-generation` and `summarization` for now.
|
||||
Only supports `text-generation`, `text2text-generation` for now.
|
||||
|
||||
Example:
|
||||
.. code-block:: python
|
||||
|
||||
Reference in New Issue
Block a user