Skip to content

Commit ad92da6

Browse files
Merge branch 'binary-removal-changes' of https://github.com/neo4j-labs/llm-graph-builder into binary-removal-changes
2 parents 2a9292d + a7f9d3d commit ad92da6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

backend/score.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from langserve import add_routes
1313
from langchain_google_vertexai import ChatVertexAI
1414
from src.api_response import create_api_response
15+
from src.graphDB_dataAccess import graphDBdataAccess
1516

1617
def healthy_condition():
1718
output = {"healthy": True}

backend/src/document_sources/local_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def get_documents_from_file_by_path(file_path,file_name):
1919
file_path = Path(file_path)
2020
if file_path.exists():
2121
logging.info(f'file {file_name} processing')
22-
loader = PyPDFLoader(file_path)
22+
loader = PyPDFLoader(str(file_path))
2323
pages = loader.load_and_split()
2424
else:
2525
logging.info(f'File {file_name} does not exist')

0 commit comments

Comments
 (0)