First Commit

This commit is contained in:
2025-07-10 14:47:34 -03:00
parent 342bf55bfd
commit 3acf27044b
3 changed files with 16 additions and 13 deletions

View File

@@ -266,6 +266,7 @@ def query_knowledge_graph(query_text):
FETCH FIRST 20 ROWS ONLY
"""
# Show the query formulated for Graph
print(pgql)
try:
@@ -377,11 +378,6 @@ def save_indexed_docs(docs):
# Main Function
# =========================
def chat():
# pdf_paths = [
# './Manuals/SOASUITE.pdf',
# './Manuals/using-integrations-oracle-integration-3.pdf'
# ]
pdf_paths = ['AAAAAAAAAA.pdf'] # Your PDF Files as a Knowledge Base
already_indexed_docs = load_previously_indexed_docs()
@@ -494,10 +490,6 @@ def chat():
print(response)
print("\n" + "=" * 80 + "\n")
# if __name__ == "__main__":
# print("Iniciando")
# print(query_knowledge_graph("gateway"))
# 🚀 Run
if __name__ == "__main__":
chat()