File size: 2,893 Bytes
81598c5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import os
from dotenv import load_dotenv

load_dotenv(dotenv_path=os.path.join(os.path.dirname(__file__), "..", ".env"))

# Embedding
EMBEDDING_PROVIDER     = os.getenv("EMBEDDING_PROVIDER", "local")
PPLX_QUERY_MODEL       = os.getenv("PPLX_QUERY_MODEL", "perplexity-ai/pplx-embed-v1-0.6b")
PPLX_DOC_MODEL         = os.getenv("PPLX_DOC_MODEL", "perplexity-ai/pplx-embed-context-v1-0.6b")

# Azure
AZURE_ENDPOINT         = os.getenv("AZURE_ENDPOINT")
AZURE_API_KEY          = os.getenv("AZURE_API_KEY")
AZURE_DEPLOYMENT_LLM   = os.getenv("AZURE_DEPLOYMENT_LLM", "gpt-4o-mini")
AZURE_DEPLOYMENT_EMBED = os.getenv("AZURE_DEPLOYMENT_EMBED", "text-embedding-ada-002")
AZURE_API_VERSION      = os.getenv("AZURE_API_VERSION", "2024-05-01-preview")

# Neo4j
NEO4J_URI              = os.getenv("NEO4J_URI", "bolt://127.0.0.1:7687")
NEO4J_USER             = os.getenv("NEO4J_USER", "neo4j")
NEO4J_PASSWORD         = os.getenv("NEO4J_PASSWORD")
NEO4J_DATABASE         = os.getenv("NEO4J_DATABASE", "neo4j")

# Raindrop
RAINDROP_TOKEN         = os.getenv("RAINDROP_TOKEN")

# Paths
RAINDROP_MISSION_DIR   = os.getenv("RAINDROP_MISSION_DIR", r"C:\Users\oasrvadmin\Documents\raindrop-mission")
CHROMA_PATH            = os.getenv("CHROMA_PATH", r"C:\Users\oasrvadmin\Documents\OpenMark\data\chroma_db")

# Canonical categories
CATEGORIES = [
    "RAG & Vector Search",
    "LLM Fine-tuning",
    "Agent Development",
    "LangChain / LangGraph",
    "MCP & Tool Use",
    "Context Engineering",
    "AI Tools & Platforms",
    "GitHub Repos & OSS",
    "Learning & Courses",
    "YouTube & Video",
    "Web Development",
    "Cloud & Infrastructure",
    "Data Science & ML",
    "Knowledge Graphs & Neo4j",
    "Career & Jobs",
    "Finance & Crypto",
    "Design & UI/UX",
    "News & Articles",
    "Entertainment & Other",
]

CATEGORY_MAP = {
    "UI/UX Design":               "Design & UI/UX",
    "UI/UX":                      "Design & UI/UX",
    "Real_Estate":                "Finance & Crypto",
    "Real Estate":                "Finance & Crypto",
    "Social_Media":               "News & Articles",
    "Social/Community":           "News & Articles",
    "Social":                     "News & Articles",
    "E-commerce & Marketplaces":  "News & Articles",
    "Research & Articles":        "News & Articles",
    "Blogs & Articles":           "News & Articles",
    "Research":                   "News & Articles",
    "AI Thought Leaders & Media": "News & Articles",
    "Debugging & Tools":          "AI Tools & Platforms",
    "Health & Wellness":          "Entertainment & Other",
    "Email & Productivity":       "AI Tools & Platforms",
    "Legal":                      "Entertainment & Other",
    "NoCode - LowCode":           "AI Tools & Platforms",
    "Security":                   "AI Tools & Platforms",
}