File tree Expand file tree Collapse file tree 4 files changed +1644
-147
lines changed
Expand file tree Collapse file tree 4 files changed +1644
-147
lines changed Original file line number Diff line number Diff line change 1- from langchain . text_splitter import RecursiveCharacterTextSplitter
1+ from langchain_text_splitters import RecursiveCharacterTextSplitter
22
33
44def split_documents (documents ):
Original file line number Diff line number Diff line change 33from langchain_core .documents import Document
44
55from app .core .config import settings
6- from app .services .chunking_service import document_to_chunks
6+ from app .services .chunking_service import split_documents as document_to_chunks
77from app .services .embedding_service import chunks_to_embeddings
88from app .services .pdf_processor import pdf_to_document
99
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "goland-ia"
33version = " 0.1.0"
44description = " Add your description here"
55readme = " README.md"
6- requires-python = " >=3.14 "
6+ requires-python = " >=3.12,<3.13 "
77dependencies = [
88 " fastapi>=0.124.2" ,
99 " ipython>=9.8.0" ,
@@ -17,7 +17,12 @@ dependencies = [
1717 " pydantic-settings>=2.0.0" ,
1818 " typing-extensions>=4.15.0" ,
1919 " uvicorn>=0.38.0" ,
20- " guardrails-ai>=0.6.2" ,
20+ " guardrails-ai>=0.5.10" ,
21+ " langchain>=1.2.0" ,
22+ " langchain-community>=0.4.1" ,
23+ " langchain-text-splitters>=1.1.0" ,
24+ " pdfplumber>=0.11.8" ,
25+ " minio>=7.2.20" ,
2126 " presidio-analyzer>=2.2.360" ,
2227 " presidio-anonymizer>=2.2.360" ,
2328]
@@ -82,4 +87,4 @@ indent-style = "space"
8287skip-magic-trailing-comma = false
8388
8489# Automatically detect line ending
85- line-ending = " auto"
90+ line-ending = " auto"
You can’t perform that action at this time.
0 commit comments