File size: 4,937 Bytes
a8dd21f
 
 
 
 
ed15e8d
a8dd21f
 
 
 
 
d78905b
a8dd21f
 
ffb3793
2d58c8b
 
a8dd21f
3e385f2
 
 
 
 
 
 
a8dd21f
 
d78905b
ffb3793
2d58c8b
 
a8dd21f
3e385f2
 
 
 
 
 
 
a8dd21f
 
 
ffb3793
98c489c
 
a8dd21f
3e385f2
 
 
 
 
 
 
a8dd21f
 
 
ffb3793
98c489c
 
a8dd21f
3e385f2
 
 
 
 
 
 
a8dd21f
 
 
ffb3793
98c489c
 
a8dd21f
3e385f2
 
 
 
 
 
 
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
"""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": "a7c1c5c8-4897-46fc-932d-77b8fdcc0155",
        "index_2": "a7c1c5c8-4897-46fc-932d-77b8fdcc0155",
        "contents": [
            "ibm-cloud-platform-automation-hub.pdf",
            "ibm-cloud-overview.pdf",
            "ibm-cloud-object-storage.pdf",
            "ibm-cloud-security-groups.pdf",
            "ibm-cloud-infrastructure.pdf",
            "ibm-cloud-container-registry.pdf",
            "ibm-cloud-manage-account-resources-access.pdf"
        ]
    },
    "IBM Cloud Platform - General - Semantically Chunked": {
        "project_id": "a8403b62-6917-4a0e-b1c6-78b696fb93c1",
        "index_1": "a7c1c5c8-4897-46fc-932d-77b8fdcc0155",
        "index_2": "a7c1c5c8-4897-46fc-932d-77b8fdcc0155",
        "contents": [
            "ibm-cloud-platform-automation-hub.pdf",
            "ibm-cloud-overview.pdf",
            "ibm-cloud-object-storage.pdf",
            "ibm-cloud-security-groups.pdf",
            "ibm-cloud-infrastructure.pdf",
            "ibm-cloud-container-registry.pdf",
            "ibm-cloud-manage-account-resources-access.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": [
            "ibm-cloud-platform-automation-hub.pdf",
            "ibm-cloud-overview.pdf",
            "ibm-cloud-object-storage.pdf",
            "ibm-cloud-security-groups.pdf",
            "ibm-cloud-infrastructure.pdf",
            "ibm-cloud-container-registry.pdf",
            "ibm-cloud-manage-account-resources-access.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": [
            "ibm-cloud-platform-automation-hub.pdf",
            "ibm-cloud-overview.pdf",
            "ibm-cloud-object-storage.pdf",
            "ibm-cloud-security-groups.pdf",
            "ibm-cloud-infrastructure.pdf",
            "ibm-cloud-container-registry.pdf",
            "ibm-cloud-manage-account-resources-access.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": [
            "ibm-cloud-platform-automation-hub.pdf",
            "ibm-cloud-overview.pdf",
            "ibm-cloud-object-storage.pdf",
            "ibm-cloud-security-groups.pdf",
            "ibm-cloud-infrastructure.pdf",
            "ibm-cloud-container-registry.pdf",
            "ibm-cloud-manage-account-resources-access.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."
    }
}