From b2e2b1a53c4ed9f9f60a727e37ab1785778bfda4 Mon Sep 17 00:00:00 2001 From: lvliang-intel Date: Mon, 5 Aug 2024 13:07:17 +0800 Subject: [PATCH] Add Uvicorn dependency (#408) Signed-off-by: lvliang-intel --- comps/agent/langchain/requirements.txt | 2 ++ comps/asr/requirements.txt | 1 + comps/dataprep/milvus/requirements.txt | 1 + comps/dataprep/pgvector/langchain/requirements.txt | 1 + comps/dataprep/pinecone/requirements.txt | 1 + comps/dataprep/qdrant/requirements.txt | 1 + comps/dataprep/redis/langchain_ray/requirements.txt | 1 + comps/dataprep/redis/llama_index/requirements.txt | 1 + comps/embeddings/langchain-mosec/requirements.txt | 1 + comps/embeddings/langchain/requirements.txt | 1 + comps/embeddings/llama_index/requirements.txt | 1 + comps/guardrails/pii_detection/requirements.txt | 1 + comps/guardrails/requirements.txt | 1 + comps/knowledgegraphs/requirements.txt | 1 + comps/llms/faq-generation/tgi/requirements.txt | 1 + comps/llms/requirements.txt | 1 + comps/llms/summarization/tgi/requirements.txt | 1 + comps/llms/text-generation/native/requirements.txt | 1 + comps/llms/text-generation/ollama/requirements.txt | 1 + comps/llms/text-generation/tgi/requirements.txt | 1 + comps/llms/text-generation/vllm-ray/requirements.txt | 1 + comps/llms/text-generation/vllm-xft/requirements.txt | 1 + comps/llms/text-generation/vllm/requirements.txt | 1 + comps/lvms/requirements.txt | 1 + comps/ragas/tgi/requirements.txt | 1 + comps/reranks/fastrag/requirements.txt | 1 + comps/reranks/langchain-mosec/requirements.txt | 1 + comps/reranks/requirements.txt | 1 + comps/retrievers/haystack/qdrant/requirements.txt | 1 + comps/retrievers/langchain/milvus/requirements.txt | 1 + comps/retrievers/langchain/pgvector/requirements.txt | 1 + comps/retrievers/langchain/redis/requirements.txt | 1 + comps/retrievers/llamaindex/requirements.txt | 2 +- comps/tts/requirements.txt | 1 + comps/web_retrievers/langchain/chroma/requirements.txt | 1 + requirements.txt | 1 + 36 files changed, 37 insertions(+), 1 deletion(-) diff --git a/comps/agent/langchain/requirements.txt b/comps/agent/langchain/requirements.txt index 94bff2a3c..16859ac2c 100644 --- a/comps/agent/langchain/requirements.txt +++ b/comps/agent/langchain/requirements.txt @@ -29,6 +29,8 @@ tavily-python transformers transformers[sentencepiece] +uvicorn + # used by document loader # beautifulsoup4 # easyocr diff --git a/comps/asr/requirements.txt b/comps/asr/requirements.txt index 1698cbe80..3ebeff787 100644 --- a/comps/asr/requirements.txt +++ b/comps/asr/requirements.txt @@ -11,4 +11,5 @@ pydub shortuuid torch transformers +uvicorn zhconv diff --git a/comps/dataprep/milvus/requirements.txt b/comps/dataprep/milvus/requirements.txt index c6f5f4fd2..cf088a1c0 100644 --- a/comps/dataprep/milvus/requirements.txt +++ b/comps/dataprep/milvus/requirements.txt @@ -27,3 +27,4 @@ sentence_transformers shortuuid tiktoken unstructured[all-docs]==0.11.5 +uvicorn diff --git a/comps/dataprep/pgvector/langchain/requirements.txt b/comps/dataprep/pgvector/langchain/requirements.txt index 0dbbf9e2e..47b03f429 100644 --- a/comps/dataprep/pgvector/langchain/requirements.txt +++ b/comps/dataprep/pgvector/langchain/requirements.txt @@ -23,3 +23,4 @@ python-docx python-pptx sentence_transformers shortuuid +uvicorn diff --git a/comps/dataprep/pinecone/requirements.txt b/comps/dataprep/pinecone/requirements.txt index ee308fd17..9e6a21681 100644 --- a/comps/dataprep/pinecone/requirements.txt +++ b/comps/dataprep/pinecone/requirements.txt @@ -18,3 +18,4 @@ pymupdf python-docx sentence_transformers shortuuid +uvicorn diff --git a/comps/dataprep/qdrant/requirements.txt b/comps/dataprep/qdrant/requirements.txt index 2c9df40f5..eb92e628f 100644 --- a/comps/dataprep/qdrant/requirements.txt +++ b/comps/dataprep/qdrant/requirements.txt @@ -23,3 +23,4 @@ qdrant-client sentence_transformers shortuuid unstructured[all-docs]==0.11.5 +uvicorn diff --git a/comps/dataprep/redis/langchain_ray/requirements.txt b/comps/dataprep/redis/langchain_ray/requirements.txt index ff994c9e9..b16a4ac82 100644 --- a/comps/dataprep/redis/langchain_ray/requirements.txt +++ b/comps/dataprep/redis/langchain_ray/requirements.txt @@ -24,4 +24,5 @@ ray redis sentence_transformers shortuuid +uvicorn virtualenv diff --git a/comps/dataprep/redis/llama_index/requirements.txt b/comps/dataprep/redis/llama_index/requirements.txt index 5780c3899..e754a4275 100644 --- a/comps/dataprep/redis/llama_index/requirements.txt +++ b/comps/dataprep/redis/llama_index/requirements.txt @@ -15,3 +15,4 @@ python-bidi==0.4.2 redis sentence_transformers shortuuid +uvicorn diff --git a/comps/embeddings/langchain-mosec/requirements.txt b/comps/embeddings/langchain-mosec/requirements.txt index efa1a6514..9fa1a059c 100644 --- a/comps/embeddings/langchain-mosec/requirements.txt +++ b/comps/embeddings/langchain-mosec/requirements.txt @@ -8,3 +8,4 @@ opentelemetry-exporter-otlp opentelemetry-sdk prometheus-fastapi-instrumentator shortuuid +uvicorn diff --git a/comps/embeddings/langchain/requirements.txt b/comps/embeddings/langchain/requirements.txt index 533186b97..eaa946aad 100644 --- a/comps/embeddings/langchain/requirements.txt +++ b/comps/embeddings/langchain/requirements.txt @@ -9,3 +9,4 @@ opentelemetry-sdk prometheus-fastapi-instrumentator sentence_transformers shortuuid +uvicorn diff --git a/comps/embeddings/llama_index/requirements.txt b/comps/embeddings/llama_index/requirements.txt index 245710f7f..b1d2beba9 100644 --- a/comps/embeddings/llama_index/requirements.txt +++ b/comps/embeddings/llama_index/requirements.txt @@ -8,3 +8,4 @@ opentelemetry-exporter-otlp opentelemetry-sdk prometheus-fastapi-instrumentator shortuuid +uvicorn diff --git a/comps/guardrails/pii_detection/requirements.txt b/comps/guardrails/pii_detection/requirements.txt index 4f65a0fcf..9ca5116da 100644 --- a/comps/guardrails/pii_detection/requirements.txt +++ b/comps/guardrails/pii_detection/requirements.txt @@ -25,4 +25,5 @@ redis scikit-learn sentence_transformers shortuuid +uvicorn virtualenv diff --git a/comps/guardrails/requirements.txt b/comps/guardrails/requirements.txt index 10ef1bb44..5fd992e66 100644 --- a/comps/guardrails/requirements.txt +++ b/comps/guardrails/requirements.txt @@ -9,3 +9,4 @@ opentelemetry-exporter-otlp opentelemetry-sdk prometheus-fastapi-instrumentator shortuuid +uvicorn diff --git a/comps/knowledgegraphs/requirements.txt b/comps/knowledgegraphs/requirements.txt index a6318d715..ecb5228af 100755 --- a/comps/knowledgegraphs/requirements.txt +++ b/comps/knowledgegraphs/requirements.txt @@ -23,3 +23,4 @@ redis sentence-transformers shortuuid tiktoken +uvicorn diff --git a/comps/llms/faq-generation/tgi/requirements.txt b/comps/llms/faq-generation/tgi/requirements.txt index f770cf5d7..623a8f667 100644 --- a/comps/llms/faq-generation/tgi/requirements.txt +++ b/comps/llms/faq-generation/tgi/requirements.txt @@ -10,3 +10,4 @@ opentelemetry-sdk prometheus-fastapi-instrumentator shortuuid transformers +uvicorn diff --git a/comps/llms/requirements.txt b/comps/llms/requirements.txt index 1de1eaedc..888eefd31 100644 --- a/comps/llms/requirements.txt +++ b/comps/llms/requirements.txt @@ -6,3 +6,4 @@ opentelemetry-api opentelemetry-exporter-otlp opentelemetry-sdk shortuuid +uvicorn diff --git a/comps/llms/summarization/tgi/requirements.txt b/comps/llms/summarization/tgi/requirements.txt index a79486a55..c6c151f6e 100644 --- a/comps/llms/summarization/tgi/requirements.txt +++ b/comps/llms/summarization/tgi/requirements.txt @@ -13,3 +13,4 @@ opentelemetry-sdk prometheus-fastapi-instrumentator shortuuid transformers +uvicorn diff --git a/comps/llms/text-generation/native/requirements.txt b/comps/llms/text-generation/native/requirements.txt index 1b0acdfce..e8473a80c 100644 --- a/comps/llms/text-generation/native/requirements.txt +++ b/comps/llms/text-generation/native/requirements.txt @@ -7,3 +7,4 @@ opentelemetry-sdk prometheus-fastapi-instrumentator shortuuid transformers +uvicorn diff --git a/comps/llms/text-generation/ollama/requirements.txt b/comps/llms/text-generation/ollama/requirements.txt index 92c652351..e224aaaa5 100644 --- a/comps/llms/text-generation/ollama/requirements.txt +++ b/comps/llms/text-generation/ollama/requirements.txt @@ -9,3 +9,4 @@ opentelemetry-sdk prometheus-fastapi-instrumentator shortuuid transformers +uvicorn diff --git a/comps/llms/text-generation/tgi/requirements.txt b/comps/llms/text-generation/tgi/requirements.txt index 621b52cc0..1e62d477d 100644 --- a/comps/llms/text-generation/tgi/requirements.txt +++ b/comps/llms/text-generation/tgi/requirements.txt @@ -10,3 +10,4 @@ opentelemetry-sdk prometheus-fastapi-instrumentator shortuuid transformers +uvicorn diff --git a/comps/llms/text-generation/vllm-ray/requirements.txt b/comps/llms/text-generation/vllm-ray/requirements.txt index 1c511793d..2e8b8c578 100644 --- a/comps/llms/text-generation/vllm-ray/requirements.txt +++ b/comps/llms/text-generation/vllm-ray/requirements.txt @@ -14,4 +14,5 @@ ray[serve]>=2.10 setuptools==69.5.1 shortuuid transformers +uvicorn vllm diff --git a/comps/llms/text-generation/vllm-xft/requirements.txt b/comps/llms/text-generation/vllm-xft/requirements.txt index ddf7310b6..bc9f457c4 100644 --- a/comps/llms/text-generation/vllm-xft/requirements.txt +++ b/comps/llms/text-generation/vllm-xft/requirements.txt @@ -7,4 +7,5 @@ opentelemetry-exporter-otlp opentelemetry-sdk prometheus-fastapi-instrumentator shortuuid +uvicorn vllm-xft diff --git a/comps/llms/text-generation/vllm/requirements.txt b/comps/llms/text-generation/vllm/requirements.txt index 8cf73d924..d096a69ca 100644 --- a/comps/llms/text-generation/vllm/requirements.txt +++ b/comps/llms/text-generation/vllm/requirements.txt @@ -8,4 +8,5 @@ opentelemetry-sdk prometheus-fastapi-instrumentator shortuuid transformers +uvicorn vllm diff --git a/comps/lvms/requirements.txt b/comps/lvms/requirements.txt index 32076a20d..3651937bd 100644 --- a/comps/lvms/requirements.txt +++ b/comps/lvms/requirements.txt @@ -9,3 +9,4 @@ prometheus-fastapi-instrumentator pydantic==2.7.2 pydub shortuuid +uvicorn diff --git a/comps/ragas/tgi/requirements.txt b/comps/ragas/tgi/requirements.txt index 29cad9670..3fa49150e 100644 --- a/comps/ragas/tgi/requirements.txt +++ b/comps/ragas/tgi/requirements.txt @@ -11,3 +11,4 @@ prometheus-fastapi-instrumentator ragas shortuuid transformers +uvicorn diff --git a/comps/reranks/fastrag/requirements.txt b/comps/reranks/fastrag/requirements.txt index 5cf7a7c44..c4ded91c8 100644 --- a/comps/reranks/fastrag/requirements.txt +++ b/comps/reranks/fastrag/requirements.txt @@ -8,3 +8,4 @@ opentelemetry-exporter-otlp opentelemetry-sdk sentence_transformers shortuuid +uvicorn diff --git a/comps/reranks/langchain-mosec/requirements.txt b/comps/reranks/langchain-mosec/requirements.txt index f71cfaeb6..f9327419d 100644 --- a/comps/reranks/langchain-mosec/requirements.txt +++ b/comps/reranks/langchain-mosec/requirements.txt @@ -8,3 +8,4 @@ opentelemetry-exporter-otlp opentelemetry-sdk prometheus_fastapi_instrumentator shortuuid +uvicorn diff --git a/comps/reranks/requirements.txt b/comps/reranks/requirements.txt index 36e38e89e..67503038f 100644 --- a/comps/reranks/requirements.txt +++ b/comps/reranks/requirements.txt @@ -9,3 +9,4 @@ opentelemetry-sdk prometheus-fastapi-instrumentator sentence_transformers shortuuid +uvicorn diff --git a/comps/retrievers/haystack/qdrant/requirements.txt b/comps/retrievers/haystack/qdrant/requirements.txt index 0c91c10ae..9b99c00fb 100644 --- a/comps/retrievers/haystack/qdrant/requirements.txt +++ b/comps/retrievers/haystack/qdrant/requirements.txt @@ -12,3 +12,4 @@ pymupdf qdrant-haystack sentence_transformers shortuuid +uvicorn diff --git a/comps/retrievers/langchain/milvus/requirements.txt b/comps/retrievers/langchain/milvus/requirements.txt index 8aa51936b..fd6e197c8 100644 --- a/comps/retrievers/langchain/milvus/requirements.txt +++ b/comps/retrievers/langchain/milvus/requirements.txt @@ -22,3 +22,4 @@ python-docx==0.8.11 sentence_transformers shortuuid tiktoken +uvicorn diff --git a/comps/retrievers/langchain/pgvector/requirements.txt b/comps/retrievers/langchain/pgvector/requirements.txt index d5caecc40..18609d361 100644 --- a/comps/retrievers/langchain/pgvector/requirements.txt +++ b/comps/retrievers/langchain/pgvector/requirements.txt @@ -12,3 +12,4 @@ psycopg2-binary pymupdf sentence_transformers shortuuid +uvicorn diff --git a/comps/retrievers/langchain/redis/requirements.txt b/comps/retrievers/langchain/redis/requirements.txt index a763d10af..3720190d3 100644 --- a/comps/retrievers/langchain/redis/requirements.txt +++ b/comps/retrievers/langchain/redis/requirements.txt @@ -11,3 +11,4 @@ pymupdf redis sentence_transformers shortuuid +uvicorn diff --git a/comps/retrievers/llamaindex/requirements.txt b/comps/retrievers/llamaindex/requirements.txt index d6bc736e3..236ea9af8 100644 --- a/comps/retrievers/llamaindex/requirements.txt +++ b/comps/retrievers/llamaindex/requirements.txt @@ -13,4 +13,4 @@ pymupdf redis sentence_transformers shortuuid - +uvicorn diff --git a/comps/tts/requirements.txt b/comps/tts/requirements.txt index 3234d8559..7f9363676 100644 --- a/comps/tts/requirements.txt +++ b/comps/tts/requirements.txt @@ -11,3 +11,4 @@ shortuuid soundfile torch transformers +uvicorn diff --git a/comps/web_retrievers/langchain/chroma/requirements.txt b/comps/web_retrievers/langchain/chroma/requirements.txt index e72c13650..c3b013496 100644 --- a/comps/web_retrievers/langchain/chroma/requirements.txt +++ b/comps/web_retrievers/langchain/chroma/requirements.txt @@ -12,3 +12,4 @@ opentelemetry-sdk prometheus-fastapi-instrumentator sentence_transformers shortuuid +uvicorn diff --git a/requirements.txt b/requirements.txt index 6a453d50f..53bfbf8d4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,3 +9,4 @@ prometheus-fastapi-instrumentator pyyaml requests shortuuid +uvicorn