fix
This commit is contained in:
@@ -87,6 +87,11 @@ class Chatbot:
|
||||
|
||||
def _extract_text_from_docs(self, docs):
|
||||
"""Extract text content from document objects."""
|
||||
|
||||
|
||||
print(docs)
|
||||
|
||||
|
||||
return [self.clean_text(doc.page_content) for doc in docs]
|
||||
# Existing methods...
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ from flask import Flask, session, redirect, url_for, request, g, jsonify
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv()
|
||||
|
||||
API_KEY = os.getenv("API_KEY")
|
||||
API_KEY = "erp_3bb0e4be8508494bb23621fc10e76a7d"
|
||||
|
||||
def auth_check(func):
|
||||
@wraps(func)
|
||||
|
||||
Reference in New Issue
Block a user