Skip to content

Commit f80159b

Browse files
committed
Merge branch 'main' into develop
2 parents 52ab4fb + 1a672d4 commit f80159b

File tree

5 files changed

+14
-13
lines changed

5 files changed

+14
-13
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12.5-slim
1+
FROM python:3.12.7-slim
22

33
# Set working directory
44
WORKDIR /app

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ networks:
44

55
services:
66
chromadb:
7-
image: chromadb/chroma:0.5.5
7+
image: chromadb/chroma:0.5.13
88
container_name: chroma-db
99
volumes:
1010
# Be aware that indexed data are located in "/chroma/chroma/"

modules/chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import List
22

3-
from langchain.chat_models.base import BaseChatModel
3+
from langchain_core.language_models import BaseChatModel
44
from langchain_core.documents import Document
55
from langchain_core.prompts.chat import HumanMessagePromptTemplate, SystemMessage
66

modules/rag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from typing import List, Literal
44

55
from chromadb import Collection
6-
from langchain.chat_models.base import BaseChatModel
6+
from langchain_core.language_models import BaseChatModel
77
from langchain_chroma import Chroma
88
from langchain_core.documents import Document
99
from langchain_core.embeddings import Embeddings

requirements.txt

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
youtube-transcript-api==0.6.2
2-
langchain-community==0.2.16
3-
langchain-openai==0.1.23
4-
langchain-text-splitters==0.2.4
2+
langchain-core==0.3.10
3+
langchain-community==0.3.2
4+
langchain-openai==0.2.2
5+
langchain-text-splitters==0.3.0
56
streamlit==1.38.0
67
watchdog==4.0.2
7-
pytest==8.3.2
8+
pytest==8.3.3
89
peewee==3.17.6
910
python-dotenv==1.0.1
10-
chromadb==0.5.5
11-
langchain-chroma==0.1.2
11+
chromadb==0.5.13
12+
langchain-chroma==0.1.4
1213
randomname==0.2.1
13-
tiktoken==0.7.0
14-
openai-whisper==20231117
15-
pytubefix==6.15.1
14+
tiktoken==0.8.0
15+
openai-whisper==20240930
16+
pytubefix==7.2.2

0 commit comments

Comments
 (0)