qdrant change
Deploy Node App / deploy (push) Successful in 14s

This commit is contained in:
Gitea
2026-06-08 10:39:45 +05:30
parent 8f5e19b711
commit f96f813d64
4 changed files with 7 additions and 4 deletions
+1
View File
@@ -0,0 +1 @@
AZURE_OPENAI_KEY=6f7D5hx9UdRHQ3tSubhwhh6vxaLGrXs97Ge8OlI4B6bp71hmbpFLJQQJ99CFAC77bzfXJ3w3AAAAACOGeZX1
+3 -1
View File
@@ -1,2 +1,4 @@
/node_modules /node_modules
/.env # /.env
# git rm --cached .env
+2 -2
View File
@@ -58,7 +58,7 @@ const {
// QDRANT CONFIG // QDRANT CONFIG
// ====================== // ======================
const qdrant = new QdrantClient({ const qdrant = new QdrantClient({
url: "http://20.40.61.65:6333", url: "http://172.236.181.119:6333",
checkCompatibility: false, checkCompatibility: false,
timeout: 30000, timeout: 30000,
}); });
@@ -293,7 +293,7 @@ async function processPDF(filePath, fileName) {
pageNum <= pdf.numPages; pageNum <= pdf.numPages;
pageNum++ pageNum++
) { ) {
// if (pageNum == 7 || pageNum == 8) {continue;}
console.log( console.log(
+1 -1
View File
@@ -14,7 +14,7 @@ const CONFIG = {
apiKey: process.env.AZURE_OPENAI_KEY, apiKey: process.env.AZURE_OPENAI_KEY,
}, },
qdrant: { qdrant: {
url: process.env.QDRANT_URL || "http://20.40.61.65:6333", url: process.env.QDRANT_URL || "http://172.236.181.119:6333",
collection: process.env.QDRANT_COLLECTION || "pdf_rag", collection: process.env.QDRANT_COLLECTION || "pdf_rag",
}, },
search: { search: {