File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,8 +48,7 @@ completion_time = "15 min"
4848created_at = 2024-01-30
4949dependencies = [
5050 " sentence-transformers>=4.1.0" ,
51- " huggingface_hub>=0.23.0" ,
52- " transformers" ,
51+ " huggingface-api-haystack" ,
5352 " markdown-it-py" ,
5453 " mdit_plain" ,
5554 " pypdf" ,
Original file line number Diff line number Diff line change 5757 "outputs" : [],
5858 "source" : [
5959 " %%bash\n " ,
60- " pip install haystack-ai\n " ,
61- " pip install \" sentence-transformers>=4.1.0\" \" huggingface_hub>=0.23.0 \" \n" ,
60+ " pip install haystack-ai huggingface-api-haystack \n " ,
61+ " pip install \" sentence-transformers>=4.1.0\"\n " ,
6262 " pip install markdown-it-py mdit_plain pypdf\n " ,
6363 " pip install gdown"
6464 ]
390390 " from haystack.components.retrievers.in_memory import InMemoryEmbeddingRetriever\n " ,
391391 " from haystack.components.builders import ChatPromptBuilder\n " ,
392392 " from haystack.dataclasses import ChatMessage\n " ,
393- " from haystack .components.generators.chat import HuggingFaceAPIChatGenerator\n " ,
393+ " from haystack_integrations .components.generators.huggingface_api import HuggingFaceAPIChatGenerator\n " ,
394394 " \n " ,
395395 " template = [\n " ,
396396 " ChatMessage.from_user(\n " ,
You can’t perform that action at this time.
0 commit comments