From 9834992b8fba271d8a6304f389f7e1bd62e5306c 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 Signed-off-by: sharanshirodkar7 --- 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/custom/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 94bff2a3cd..16859ac2c9 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 1698cbe800..3ebeff787d 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 c6f5f4fd22..cf088a1c09 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 0dbbf9e2ea..47b03f429e 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 ee308fd170..9e6a216819 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 2c9df40f57..eb92e628fe 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 ff994c9e93..b16a4ac825 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 5780c38992..e754a4275c 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 efa1a65141..9fa1a059ce 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 533186b97e..eaa946aad6 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 245710f7f1..b1d2beba9a 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/custom/requirements.txt b/comps/guardrails/pii_detection/custom/requirements.txt index 4f65a0fcf5..9ca5116dab 100644 --- a/comps/guardrails/pii_detection/custom/requirements.txt +++ b/comps/guardrails/pii_detection/custom/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 10ef1bb440..5fd992e663 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 a6318d7159..ecb5228afa 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 f770cf5d74..623a8f6678 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 1de1eaedc9..888eefd312 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 a79486a559..c6c151f6ec 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 1b0acdfce0..e8473a80c4 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 92c6523510..e224aaaa5a 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 621b52cc00..1e62d477d6 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 1c511793d7..2e8b8c5785 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 ddf7310b65..bc9f457c4b 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 8cf73d9240..d096a69ca0 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 32076a20db..3651937bdf 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 29cad9670a..3fa49150ec 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 5cf7a7c441..c4ded91c80 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 f71cfaeb66..f9327419d9 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 36e38e89e6..67503038f9 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 0c91c10ae6..9b99c00fb7 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 8aa51936b9..fd6e197c87 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 d5caecc40d..18609d3615 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 a763d10afb..3720190d3e 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 d6bc736e38..236ea9af83 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 3234d85599..7f93636765 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 e72c136508..c3b0134961 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 6a453d50fb..53bfbf8d46 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,3 +9,4 @@ prometheus-fastapi-instrumentator pyyaml requests shortuuid +uvicorn