@@ -0,0 +1 @@
|
|||||||
|
AZURE_OPENAI_KEY=6f7D5hx9UdRHQ3tSubhwhh6vxaLGrXs97Ge8OlI4B6bp71hmbpFLJQQJ99CFAC77bzfXJ3w3AAAAACOGeZX1
|
||||||
+3
-1
@@ -1,2 +1,4 @@
|
|||||||
/node_modules
|
/node_modules
|
||||||
/.env
|
# /.env
|
||||||
|
|
||||||
|
# git rm --cached .env
|
||||||
@@ -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(
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user