Skip to content

Commit 31be778

Browse files
Merge branch 'main' into STAGING
2 parents fd04428 + 1513bf8 commit 31be778

File tree

7 files changed

+4
-4
lines changed

7 files changed

+4
-4
lines changed
314 KB
Binary file not shown.
Binary file not shown.
133 KB
Loading

backend/src/document_sources/gcs_bucket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,4 @@ def delete_file_from_gcs(bucket_name,folder_name, file_name):
138138
blob.delete()
139139
logging.info('File deleted from GCS successfully')
140140
except Exception as e:
141-
raise Exception(e)
141+
raise Exception(e)

backend/src/graphDB_dataAccess.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ def delete_file_from_graph(self, filenames, source_types, deleteEntities:str, me
181181
else:
182182
logging.info(f'Deleted File Path: {merged_file_path} and Deleted File Name : {file_name}')
183183
delete_uploaded_local_file(merged_file_path,file_name)
184-
185184
query_to_delete_document="""
186185
MATCH (d:Document) where d.fileName in $filename_list and d.fileSource in $source_types_list
187186
with collect(d) as documents

backend/src/shared/common_fn.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
#watch("neo4j")
2222

23+
2324
def check_url_source(source_type, yt_url:str=None, wiki_query:str=None):
2425
language=''
2526
try:

frontend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ FROM node:20 AS build
33

44
ARG BACKEND_API_URL="http://localhost:8000"
55
ARG REACT_APP_SOURCES=""
6-
ARG LLM_MODELS=""
6+
ARG LLM_MODELS="Diffbot,Gemini 1.0 Pro,OpenAI GPT 3.5,OpenAI GPT 4o"
77
ARG GOOGLE_CLIENT_ID=""
88
ARG BLOOM_URL="https://workspace-preview.neo4j.io/workspace/explore?connectURL={CONNECT_URL}&search=Show+me+a+graph&featureGenAISuggestions=true&featureGenAISuggestionsInternal=true"
99
ARG TIME_PER_CHUNK=4
1010
ARG TIME_PER_PAGE=50
1111
ARG LARGE_FILE_SIZE=5242880
1212
ARG CHUNK_SIZE=5242880
13-
ARG ENV="DEV"
13+
ARG ENV="PROD"
1414

1515
WORKDIR /app
1616
COPY package.json yarn.lock ./

0 commit comments

Comments
 (0)