Skip to content

Concurrent processing of files #665

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 107 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
b401449
Update README.md
kartikpersistent Aug 2, 2024
8afb4f1
Droped the old vector index (#652)
vasanthasaikalluri Aug 2, 2024
719a450
added cypher_queries and llm chatbot files
jayanth-002 Aug 4, 2024
600124b
updated llm-chatbot-python
jayanth-002 Aug 4, 2024
de191e2
added llm-chatbot-python
jayanth-002 Aug 4, 2024
7f6bd5c
updated llm-chatbot-python folder
jayanth-002 Aug 4, 2024
6ef61e7
Added chatbot "hybrid " mode use case
abhishekkumar-27 Aug 5, 2024
76028bf
added the concurrent file processing
kartikpersistent Aug 5, 2024
47d16ec
page refresh scenario
kartikpersistent Aug 6, 2024
abbb9c7
fixed waiting files processing issue in refresh scenario
kartikpersistent Aug 6, 2024
b2541a7
removed boolean param
kartikpersistent Aug 6, 2024
093a30d
fixed processedCount issue
kartikpersistent Aug 6, 2024
5bcd569
checkbox with waiting check
kartikpersistent Aug 6, 2024
14244dc
fixed the refresh scenario with processing files
kartikpersistent Aug 6, 2024
8ac8bb7
processing files check
kartikpersistent Aug 7, 2024
4623145
server side error
kartikpersistent Aug 7, 2024
230792c
processing file count check for processing files less than batch size
kartikpersistent Aug 7, 2024
034ffdc
processing count check to handle allselected files
kartikpersistent Aug 7, 2024
8c55197
created helper functions
kartikpersistent Aug 7, 2024
a1262a2
code improvements
kartikpersistent Aug 8, 2024
01fcb08
__ changes (#656)
prakriti-solankey Aug 5, 2024
276302a
DiffbotGraphTransformer doesn't need an LLMGraphTransformer (#659)
jeromechoo Aug 6, 2024
7145349
Removed experiments/llm-chatbot-python folder from DEV branch
jayanth-002 Aug 7, 2024
47fbd23
redcued the password clear timeout
kartikpersistent Aug 7, 2024
fc59d42
Removed experiments/Cypher_Queries.ipynb file from DEV branch
jayanth-002 Aug 7, 2024
307e5fd
disabled the closed button on banner and connection dialog while API …
kartikpersistent Aug 7, 2024
85af66c
update delete query with entities
praveshkumar1988 Aug 7, 2024
8d9a793
node id check (#663)
prakriti-solankey Aug 8, 2024
b3fab68
Status source and type filtering (#664)
prakriti-solankey Aug 8, 2024
c7ae605
rollback to previous working nvl version
kartikpersistent Aug 8, 2024
e9a20dd
added the alert
kartikpersistent Aug 8, 2024
148bfc3
add BATCH_SIZE to docker
kartikpersistent Aug 9, 2024
aba1bfe
temp fixes for 0.3.1
kartikpersistent Aug 9, 2024
32f3ace
alert fix for less than batch size processing
kartikpersistent Aug 9, 2024
aa7dfb7
new virtual env
kartikpersistent Aug 9, 2024
6d6d2bc
added Hybrid Chat modes (#670)
vasanthasaikalluri Aug 8, 2024
91f255e
Rename the function #657
praveshkumar1988 Aug 9, 2024
84dc6ea
label and checkboxes placement changes (#675)
kartikpersistent Aug 9, 2024
940ce08
Graph node filename check
prakriti-solankey Aug 9, 2024
47c9746
env fixes with latest nvl libraries
kartikpersistent Aug 12, 2024
d74cf25
format fixes
kartikpersistent Aug 12, 2024
4140d08
removed local files
kartikpersistent Aug 12, 2024
8885770
Remove TotalPages when save file on local (#684)
praveshkumar1988 Aug 12, 2024
5b4cf0f
file_name reference and verify_ssl issue fixed (#683)
praveshkumar1988 Aug 12, 2024
b784140
User flow changes for recreating supported vector index (#682)
kartikpersistent Aug 12, 2024
7d27e67
ndl changes
kartikpersistent Aug 13, 2024
273b4ab
label and checkboxes placement changes (#675)
kartikpersistent Aug 9, 2024
8b95c19
env fixes with latest nvl libraries
kartikpersistent Aug 12, 2024
4be55f6
format fixes
kartikpersistent Aug 12, 2024
5f04c91
User flow changes for recreating supported vector index (#682)
kartikpersistent Aug 12, 2024
8153b7e
env fixes with latest nvl libraries
kartikpersistent Aug 12, 2024
60c93b1
format fixes
kartikpersistent Aug 12, 2024
2e9dde0
User flow changes for recreating supported vector index (#682)
kartikpersistent Aug 12, 2024
e64905c
Status source and type filtering (#664)
prakriti-solankey Aug 8, 2024
0dd6f69
added the alert
kartikpersistent Aug 8, 2024
4c764b0
temp fixes for 0.3.1
kartikpersistent Aug 9, 2024
a066a05
label and checkboxes placement changes (#675)
kartikpersistent Aug 9, 2024
e1a2a58
env fixes with latest nvl libraries
kartikpersistent Aug 12, 2024
f227506
format fixes
kartikpersistent Aug 12, 2024
0cee401
User flow changes for recreating supported vector index (#682)
kartikpersistent Aug 12, 2024
baeaf62
ndl changes
kartikpersistent Aug 13, 2024
c88bf28
env fixes with latest nvl libraries
kartikpersistent Aug 12, 2024
9ee273b
format fixes
kartikpersistent Aug 12, 2024
b550767
User flow changes for recreating supported vector index (#682)
kartikpersistent Aug 12, 2024
d7457d2
env fixes with latest nvl libraries
kartikpersistent Aug 12, 2024
c4ae989
format fixes
kartikpersistent Aug 12, 2024
d8eea0a
User flow changes for recreating supported vector index (#682)
kartikpersistent Aug 12, 2024
beee9cc
added cypher_queries and llm chatbot files
jayanth-002 Aug 4, 2024
04fbdd8
updated llm-chatbot-python
jayanth-002 Aug 4, 2024
35c4ca2
added llm-chatbot-python
jayanth-002 Aug 4, 2024
c5c5390
updated llm-chatbot-python folder
jayanth-002 Aug 4, 2024
0cfa361
page refresh scenario
kartikpersistent Aug 6, 2024
cef86fc
fixed waiting files processing issue in refresh scenario
kartikpersistent Aug 6, 2024
e9e1c9c
Removed experiments/llm-chatbot-python folder from DEV branch
jayanth-002 Aug 7, 2024
98f0e7a
disabled the closed button on banner and connection dialog while API …
kartikpersistent Aug 7, 2024
733ad66
node id check (#663)
prakriti-solankey Aug 8, 2024
5009703
Status source and type filtering (#664)
prakriti-solankey Aug 8, 2024
2bad6fe
rollback to previous working nvl version
kartikpersistent Aug 8, 2024
9b0b44d
added the alert
kartikpersistent Aug 8, 2024
cb14edb
temp fixes for 0.3.1
kartikpersistent Aug 9, 2024
a623d99
label and checkboxes placement changes (#675)
kartikpersistent Aug 9, 2024
32baaa9
env fixes with latest nvl libraries
kartikpersistent Aug 12, 2024
c05e3aa
format fixes
kartikpersistent Aug 12, 2024
39e9647
User flow changes for recreating supported vector index (#682)
kartikpersistent Aug 12, 2024
eba8f01
ndl changes
kartikpersistent Aug 13, 2024
5555949
env fixes with latest nvl libraries
kartikpersistent Aug 12, 2024
bf13a70
format fixes
kartikpersistent Aug 12, 2024
39e2cd2
User flow changes for recreating supported vector index (#682)
kartikpersistent Aug 12, 2024
7f3f6f3
env fixes with latest nvl libraries
kartikpersistent Aug 12, 2024
49dfbf6
format fixes
kartikpersistent Aug 12, 2024
7247399
User flow changes for recreating supported vector index (#682)
kartikpersistent Aug 12, 2024
f309da0
Status source and type filtering (#664)
prakriti-solankey Aug 8, 2024
cf1f159
added the alert
kartikpersistent Aug 8, 2024
ad9ac7a
temp fixes for 0.3.1
kartikpersistent Aug 9, 2024
c669a58
label and checkboxes placement changes (#675)
kartikpersistent Aug 9, 2024
d6c638f
env fixes with latest nvl libraries
kartikpersistent Aug 12, 2024
705be21
format fixes
kartikpersistent Aug 12, 2024
ee597f9
User flow changes for recreating supported vector index (#682)
kartikpersistent Aug 12, 2024
3b0c0ad
ndl changes
kartikpersistent Aug 13, 2024
d86544c
env fixes with latest nvl libraries
kartikpersistent Aug 12, 2024
e0f0125
format fixes
kartikpersistent Aug 12, 2024
3eddf6b
User flow changes for recreating supported vector index (#682)
kartikpersistent Aug 12, 2024
2d71529
env fixes with latest nvl libraries
kartikpersistent Aug 12, 2024
670dca5
format fixes
kartikpersistent Aug 12, 2024
e2daa6f
User flow changes for recreating supported vector index (#682)
kartikpersistent Aug 12, 2024
aac8df4
property spell fix
kartikpersistent Aug 13, 2024
8287a1e
Merge branch 'DEV' into Concurrent-Processing-of-files
kartikpersistent Aug 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
__pycache__/
*.py[cod]
*$py.class

.vennv
# C extensions
*.so
/backend/graph
Expand Down Expand Up @@ -170,4 +170,6 @@ google-cloud-cli-469.0.0-linux-x86_64.tar.gz
/backend/chunks
google-cloud-cli-linux-x86_64.tar.gz
.vennv
newenv
newenv
files

2 changes: 1 addition & 1 deletion backend/src/graphDB_dataAccess.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def execute_query(self, query, param=None):

def get_current_status_document_node(self, file_name):
query = """
MATCH(d:Document {fileName : $file_name}) RETURN d.stats AS Status , d.processingTime AS processingTime,
MATCH(d:Document {fileName : $file_name}) RETURN d.status AS Status , d.processingTime AS processingTime,
d.nodeCount AS nodeCount, d.model as model, d.relationshipCount as relationshipCount,
d.total_pages AS total_pages, d.total_chunks AS total_chunks , d.fileSize as fileSize,
d.is_cancelled as is_cancelled, d.processed_chunk as processed_chunk, d.fileSource as fileSource
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ services:
- CHUNK_SIZE=${CHUNK_SIZE-5242880}
- ENV=${ENV-DEV}
- CHAT_MODES=${CHAT_MODES-""}
- BATCH_SIZE=${BATCH_SIZE-2}
volumes:
- ./frontend:/app
- /app/node_modules
Expand Down
3 changes: 2 additions & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ ARG LARGE_FILE_SIZE=5242880
ARG CHUNK_SIZE=5242880
ARG CHAT_MODES=""
ARG ENV="DEV"
ARG BATCH_SIZE=2

WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn add @neo4j-nvl/base @neo4j-nvl/react
RUN yarn install
COPY . ./
RUN BACKEND_API_URL=$BACKEND_API_URL \
Expand All @@ -28,6 +28,7 @@ RUN BACKEND_API_URL=$BACKEND_API_URL \
ENV=$ENV \
LARGE_FILE_SIZE=${LARGE_FILE_SIZE} \
CHAT_MODES=$CHAT_MODES \
BATCH_SIZE=$BATCH_SIZE \
yarn run build

# Step 2: Serve the application using Nginx
Expand Down
3 changes: 2 additions & 1 deletion frontend/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ TIME_PER_PAGE=50
CHUNK_SIZE=5242880
LARGE_FILE_SIZE=5242880
GOOGLE_CLIENT_ID=""
CHAT_MODES=""
CHAT_MODES=""
BATCH_SIZE=2
Loading