From 2f8c5cdbee68f00e58d096b467accbd22368940b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Paulo=20P=C3=A9rez-Tejada?= Date: Tue, 24 Sep 2024 21:38:12 -0600 Subject: [PATCH 1/2] Last version (#29) * refactor: separate app components * Add multiple pages (#22) * Update README.md * Change names of pages * Disable pylint rules * refactor: separate app components * Change names of pages * Disable pylint rules * Update app and dependencies * Update requirements.txt * Update wk_flow_requirements.txt --- .python-version | 1 + requirements.txt | 18 ++++++++---------- wk_flow_requirements.txt | 14 +++++++------- 3 files changed, 16 insertions(+), 17 deletions(-) create mode 100644 .python-version diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..d9506ce --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.12.5 diff --git a/requirements.txt b/requirements.txt index 273e3bf..cce75cf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,8 @@ -openai -tiktoken -langchain -langchain_openai -pymupdf -pypdf -wikipedia -chromadb -sentence_transformers -streamlit +chromadb==0.5.7 +fitz==0.0.1.dev2 +langchain==0.3.0 +openai==1.47.1 +python-dotenv==1.0.1 +streamlit==1.35.0 +tiktoken==0.7.0 +pylint diff --git a/wk_flow_requirements.txt b/wk_flow_requirements.txt index f3995ba..cce75cf 100644 --- a/wk_flow_requirements.txt +++ b/wk_flow_requirements.txt @@ -1,8 +1,8 @@ -streamlit -pymupdf -openai -tiktoken +chromadb==0.5.7 +fitz==0.0.1.dev2 +langchain==0.3.0 +openai==1.47.1 +python-dotenv==1.0.1 +streamlit==1.35.0 +tiktoken==0.7.0 pylint -langchain -langchain_openai -chromadb From 95706db8aeff726ee6b9def3b4b9d92f0435f573 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Paulo=20P=C3=A9rez-Tejada?= Date: Tue, 24 Sep 2024 22:04:17 -0600 Subject: [PATCH 2/2] Dev (#30) * refactor: separate app components * Add multiple pages (#22) * Update README.md * Change names of pages * Disable pylint rules * refactor: separate app components * Change names of pages * Disable pylint rules * Update app and dependencies * Update requirements.txt * Update wk_flow_requirements.txt * Fit versions with HF * Update pylint.yml --- .github/workflows/pylint.yml | 3 ++- .python-version | 2 +- requirements.txt | 7 ++++--- wk_flow_requirements.txt | 7 ++++--- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 1868bd0..b31314d 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -18,6 +18,7 @@ jobs: run: | python -m pip install --upgrade pip pip install -r wk_flow_requirements.txt + pip install pylint - name: Analysing the code with pylint run: | - pylint $(git ls-files '*.py') \ No newline at end of file + pylint $(git ls-files '*.py') diff --git a/.python-version b/.python-version index d9506ce..1445aee 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.12.5 +3.10.14 diff --git a/requirements.txt b/requirements.txt index cce75cf..8c04ca6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,9 @@ chromadb==0.5.7 fitz==0.0.1.dev2 -langchain==0.3.0 +langchain-community==0.3.0 +langchain_openai==0.2.0 openai==1.47.1 python-dotenv==1.0.1 -streamlit==1.35.0 +streamlit==1.38.0 tiktoken==0.7.0 -pylint +PyMuPDF==1.24.10 diff --git a/wk_flow_requirements.txt b/wk_flow_requirements.txt index cce75cf..8c04ca6 100644 --- a/wk_flow_requirements.txt +++ b/wk_flow_requirements.txt @@ -1,8 +1,9 @@ chromadb==0.5.7 fitz==0.0.1.dev2 -langchain==0.3.0 +langchain-community==0.3.0 +langchain_openai==0.2.0 openai==1.47.1 python-dotenv==1.0.1 -streamlit==1.35.0 +streamlit==1.38.0 tiktoken==0.7.0 -pylint +PyMuPDF==1.24.10