From cb35d4513255af3ea38ceae9b1efc4955a223bb1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Aug 2024 09:20:07 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- comps/dataprep/redis/langchain/prepare_doc_redis.py | 2 +- comps/dataprep/redis/langchain/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/comps/dataprep/redis/langchain/prepare_doc_redis.py b/comps/dataprep/redis/langchain/prepare_doc_redis.py index 03252c8b4..a749cd557 100644 --- a/comps/dataprep/redis/langchain/prepare_doc_redis.py +++ b/comps/dataprep/redis/langchain/prepare_doc_redis.py @@ -14,8 +14,8 @@ from fastapi import Body, File, Form, HTTPException, UploadFile from langchain.text_splitter import RecursiveCharacterTextSplitter from langchain_community.embeddings import HuggingFaceBgeEmbeddings -from langchain_huggingface import HuggingFaceEndpointEmbeddings from langchain_community.vectorstores import Redis +from langchain_huggingface import HuggingFaceEndpointEmbeddings from langchain_text_splitters import HTMLHeaderTextSplitter from redis.commands.search.field import TextField from redis.commands.search.indexDefinition import IndexDefinition, IndexType diff --git a/comps/dataprep/redis/langchain/requirements.txt b/comps/dataprep/redis/langchain/requirements.txt index 0949f6b72..284b9379b 100644 --- a/comps/dataprep/redis/langchain/requirements.txt +++ b/comps/dataprep/redis/langchain/requirements.txt @@ -6,9 +6,9 @@ easyocr fastapi huggingface_hub langchain==0.2.12 -langchain_huggingface langchain-community langchain-text-splitters +langchain_huggingface markdown numpy opentelemetry-api