From 04385c97e7a4be1686a855b5723dd7728dd4456a Mon Sep 17 00:00:00 2001 From: lvliang-intel Date: Wed, 18 Sep 2024 17:26:55 +0800 Subject: [PATCH] Fix microservices which affected by langchain version upgrade (#704) Signed-off-by: lvliang-intel --- comps/intent_detection/langchain/requirements.txt | 3 ++- comps/llms/faq-generation/tgi/langchain/requirements.txt | 3 ++- comps/llms/requirements.txt | 3 ++- comps/llms/text-generation/ray_serve/requirements.txt | 3 ++- comps/llms/text-generation/vllm/ray/requirements.txt | 3 ++- comps/ragas/tgi/langchain/requirements.txt | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/comps/intent_detection/langchain/requirements.txt b/comps/intent_detection/langchain/requirements.txt index a84c3734a..d979c95d4 100644 --- a/comps/intent_detection/langchain/requirements.txt +++ b/comps/intent_detection/langchain/requirements.txt @@ -1,7 +1,8 @@ docarray[full] fastapi huggingface_hub -langchain==0.1.16 +langchain +langchain_community opentelemetry-api opentelemetry-exporter-otlp opentelemetry-sdk diff --git a/comps/llms/faq-generation/tgi/langchain/requirements.txt b/comps/llms/faq-generation/tgi/langchain/requirements.txt index 78b323c73..fa1548d7c 100644 --- a/comps/llms/faq-generation/tgi/langchain/requirements.txt +++ b/comps/llms/faq-generation/tgi/langchain/requirements.txt @@ -1,7 +1,8 @@ docarray[full] fastapi huggingface_hub -langchain==0.1.16 +langchain +langchain_community opentelemetry-api opentelemetry-exporter-otlp opentelemetry-sdk diff --git a/comps/llms/requirements.txt b/comps/llms/requirements.txt index 888eefd31..9d3245334 100644 --- a/comps/llms/requirements.txt +++ b/comps/llms/requirements.txt @@ -1,7 +1,8 @@ docarray[full] fastapi huggingface_hub -langchain==0.1.16 +langchain +langchain_community opentelemetry-api opentelemetry-exporter-otlp opentelemetry-sdk diff --git a/comps/llms/text-generation/ray_serve/requirements.txt b/comps/llms/text-generation/ray_serve/requirements.txt index d97ce32e2..87aef9992 100644 --- a/comps/llms/text-generation/ray_serve/requirements.txt +++ b/comps/llms/text-generation/ray_serve/requirements.txt @@ -1,7 +1,8 @@ docarray[full] fastapi huggingface_hub -langchain==0.1.16 +langchain +langchain_community langchain_openai openai opentelemetry-api diff --git a/comps/llms/text-generation/vllm/ray/requirements.txt b/comps/llms/text-generation/vllm/ray/requirements.txt index 55b308768..69dbbd173 100644 --- a/comps/llms/text-generation/vllm/ray/requirements.txt +++ b/comps/llms/text-generation/vllm/ray/requirements.txt @@ -1,7 +1,8 @@ docarray[full] fastapi huggingface_hub -langchain==0.1.16 +langchain +langchain_community langchain_openai openai opentelemetry-api diff --git a/comps/ragas/tgi/langchain/requirements.txt b/comps/ragas/tgi/langchain/requirements.txt index 7839ef15d..0186cab40 100644 --- a/comps/ragas/tgi/langchain/requirements.txt +++ b/comps/ragas/tgi/langchain/requirements.txt @@ -2,7 +2,8 @@ datasets docarray[full] fastapi huggingface_hub -langchain==0.1.16 +langchain +langchain_community opentelemetry-api opentelemetry-exporter-otlp opentelemetry-sdk