File size: 3,914 Bytes
a8dd21f
 
 
 
 
ed15e8d
a8dd21f
 
 
 
 
d78905b
a8dd21f
 
ffb3793
cfa39e2
 
a8dd21f
 
 
 
 
 
d78905b
ffb3793
cfa39e2
 
a8dd21f
d78905b
 
 
a8dd21f
 
 
ffb3793
98c489c
 
a8dd21f
 
 
 
 
 
 
ffb3793
98c489c
 
a8dd21f
 
 
 
 
 
 
ffb3793
98c489c
 
a8dd21f
 
 
 
 
 
d78905b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a8dd21f
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
"""Configuration file for knowledge base options and their corresponding values"""

# Knowledge Base Options
KNOWLEDGE_BASE_OPTIONS = [
    "IBM Cloud Platform - General",
    "IBM Cloud Platform - General - Semantically Chunked",
    # "IBM Consulting Services",
    # "IBM Security Solutions",
    # "IBM AI & Analytics"
]

# Vector Indexes for each knowledge base
VECTOR_INDEXES = {
    "IBM Cloud Platform - General": {
        "project_id": "a8403b62-6917-4a0e-b1c6-78b696fb93c1",
        "index_1": "662685b4-8efd-47d7-a893-14e2f1f9516f",
        "index_2": "662685b4-8efd-47d7-a893-14e2f1f9516f",
        "contents": [
            "IBM_Cloud_Overview.pdf",
            "Cloud_Services_Catalog.pdf",
            "Platform_Best_Practices.pdf"
        ]
    },
    "IBM Cloud Platform - General - Semantically Chunked": {
        "project_id": "a8403b62-6917-4a0e-b1c6-78b696fb93c1",
        "index_1": "662685b4-8efd-47d7-a893-14e2f1f9516f",
        "index_2": "662685b4-8efd-47d7-a893-14e2f1f9516f",
        "contents": [
            "IBM_Cloud_Overview_Semantic.pdf",
            "Cloud_Services_Catalog_Semantic.pdf",
            "Platform_Best_Practices_Semantic.pdf"
        ]
    },
    "IBM Consulting Services": {
        "project_id": "a8403b62-6917-4a0e-b1c6-78b696fb93c1",
        "index_1": "a7c1c5c8-4897-46fc-932d-77b8fdcc0155",
        "index_2": "a7c1c5c8-4897-46fc-932d-77b8fdcc0155",
        "contents": [
            "Consulting_Methodology.pdf",
            "Service_Offerings.pdf",
            "Case_Studies.pdf"
        ]
    },
    "IBM Security Solutions": {
        "project_id": "a8403b62-6917-4a0e-b1c6-78b696fb93c1",
        "index_1": "a7c1c5c8-4897-46fc-932d-77b8fdcc0155",
        "index_2": "a7c1c5c8-4897-46fc-932d-77b8fdcc0155",
        "contents": [
            "Security_Products_Overview.pdf",
            "Security_Best_Practices.pdf",
            "Threat_Management_Guide.pdf"
        ]
    },
    "IBM AI & Analytics": {
        "project_id": "a8403b62-6917-4a0e-b1c6-78b696fb93c1",
        "index_1": "a7c1c5c8-4897-46fc-932d-77b8fdcc0155",
        "index_2": "a7c1c5c8-4897-46fc-932d-77b8fdcc0155",
        "contents": [
            "AI_Solutions_Overview.pdf",
            "Analytics_Platform_Guide.pdf",
            "Machine_Learning_Docs.pdf"
        ]
    }
}

# System Prompts for each knowledge base
SYSTEM_PROMPTS = {
    "IBM Cloud Platform - General": {
        "bot_2": "You are an IBM Cloud Platform expert assistant. Help users understand cloud services, deployment, and infrastructure.",
        "bot_3": "You are a technical solutions architect specializing in IBM Cloud. Provide detailed architectural guidance."
    },
    "IBM Cloud Platform - General - Semantically Chunked": {
        "bot_2": "You are an IBM Cloud Platform expert assistant with knowledge of semantically organized content. Help users understand cloud services, deployment, and infrastructure.",
        "bot_3": "You are a technical solutions architect specializing in IBM Cloud. Provide detailed architectural guidance using semantically structured information."
    },
    "IBM Consulting Services": {
        "bot_2": "You are an IBM Consulting advisor. Help users understand our service offerings and methodologies.",
        "bot_3": "You are a consulting solutions architect. Provide detailed project and implementation guidance."
    },
    "IBM Security Solutions": {
        "bot_2": "You are an IBM Security expert. Guide users through our security products and best practices.",
        "bot_3": "You are a security architect. Provide detailed technical security guidance and implementations."
    },
    "IBM AI & Analytics": {
        "bot_2": "You are an IBM AI and Analytics specialist. Help users understand our AI and data solutions.",
        "bot_3": "You are an AI solutions architect. Provide technical guidance on AI implementation and integration."
    }
}