From 6cc7399a39775809fdace33a25d411a4e09df1bc Mon Sep 17 00:00:00 2001 From: Alexander B Date: Sat, 10 Jan 2026 03:26:26 -0500 Subject: [PATCH] embedder --- embed-001.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/embed-001.py b/embed-001.py index 716f547..18d3fa0 100644 --- a/embed-001.py +++ b/embed-001.py @@ -12,11 +12,11 @@ import time class AnythingLLMDocumentProcessor: def __init__( self, - anythingllm_url: str = "http://localhost:3001", - anythingllm_api_key: str = "", - workspace_slug: str = "", - qdrant_url: str = "http://localhost:6333", - collection_name: str = "documents" + anythingllm_url: str = "http://10.100.50.16:30239", + anythingllm_api_key: str = "TN4TAY5-BB6M8AP-KF5PWWF-E3TFJ1E", + workspace_slug: str = "dialogue", + qdrant_url: str = "http://10.100.50.16:6333", + collection_name: str = "dialogue" ): """ Initialize the document processor for AnythingLLM. @@ -236,11 +236,11 @@ def main(): # Configuration FOLDER_PATH = "./documents" # Change to your folder path - ANYTHINGLLM_URL = "http://localhost:3001" # Your AnythingLLM URL - ANYTHINGLLM_API_KEY = "YOUR_API_KEY_HERE" # Get from AnythingLLM Settings > API Keys - WORKSPACE_SLUG = "my-workspace" # Your workspace slug - QDRANT_URL = "http://localhost:6333" # Your Qdrant URL - COLLECTION_NAME = "anythingllm" # Default collection name used by AnythingLLM + ANYTHINGLLM_URL = "http://10.100.50.16:30239" # Your AnythingLLM URL + ANYTHINGLLM_API_KEY = "TN4TAY5-BB6M8AP-KF5PWWF-E3TFJ1E" # Get from AnythingLLM Settings > API Keys + WORKSPACE_SLUG = "dialogue" # Your workspace slug + QDRANT_URL = "http://10.100.50.16:6333" # Your Qdrant URL + COLLECTION_NAME = "dialogue" # Default collection name used by AnythingLLM # Specify file types to process FILE_EXTENSIONS = ['.txt', '.md', '.pdf', '.docx', '.csv', '.json']