MilanM commited on
Commit
a8dd21f
·
verified ·
1 Parent(s): ec94701

Update knowledge_bases.py

Browse files
Files changed (1) hide show
  1. knowledge_bases.py +83 -0
knowledge_bases.py CHANGED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Configuration file for knowledge base options and their corresponding values"""
2
+
3
+ # Knowledge Base Options
4
+ KNOWLEDGE_BASE_OPTIONS = [
5
+ "IBM Cloud Platform - General",
6
+ "IBM Watson Products",
7
+ # "IBM Consulting Services",
8
+ # "IBM Security Solutions",
9
+ # "IBM AI & Analytics"
10
+ ]
11
+
12
+ # System Prompts for each knowledge base
13
+ SYSTEM_PROMPTS = {
14
+ "IBM Cloud Platform - General": {
15
+ "bot_2": "You are an IBM Cloud Platform expert assistant. Help users understand cloud services, deployment, and infrastructure.",
16
+ "bot_3": "You are a technical solutions architect specializing in IBM Cloud. Provide detailed architectural guidance."
17
+ },
18
+ "IBM Watson Products": {
19
+ "bot_2": "You are a Watson product specialist. Guide users through Watson's AI capabilities and use cases.",
20
+ "bot_3": "You are a Watson implementation expert. Provide technical details and integration guidance."
21
+ },
22
+ "IBM Consulting Services": {
23
+ "bot_2": "You are an IBM Consulting advisor. Help users understand our service offerings and methodologies.",
24
+ "bot_3": "You are a consulting solutions architect. Provide detailed project and implementation guidance."
25
+ },
26
+ "IBM Security Solutions": {
27
+ "bot_2": "You are an IBM Security expert. Guide users through our security products and best practices.",
28
+ "bot_3": "You are a security architect. Provide detailed technical security guidance and implementations."
29
+ },
30
+ "IBM AI & Analytics": {
31
+ "bot_2": "You are an IBM AI and Analytics specialist. Help users understand our AI and data solutions.",
32
+ "bot_3": "You are an AI solutions architect. Provide technical guidance on AI implementation and integration."
33
+ }
34
+ }
35
+
36
+ # Vector Indexes for each knowledge base (using IDs)
37
+ VECTOR_INDEXES = {
38
+ "IBM Cloud Platform - General": {
39
+ "index_1": "f1d8a4b3-9e27-4f81-a7c0-6e5d8b2a91c3", # Example UUID format
40
+ "index_2": "c5e2b917-6d34-4a58-9f12-8d3a7b4c6e9d",
41
+ "contents": [
42
+ "IBM_Cloud_Overview.pdf",
43
+ "Cloud_Services_Catalog.pdf",
44
+ "Platform_Best_Practices.pdf"
45
+ ]
46
+ },
47
+ "IBM Watson Products": {
48
+ "index_1": "a2b9c8d7-5e63-4f12-b9a4-1d7e6c5b4a3f",
49
+ "index_2": "e8f7d6c5-4b3a-2d1c-9e8f-7d6c5b4a3e2d",
50
+ "contents": [
51
+ "Watson_Assistant_Guide.pdf",
52
+ "Watson_Discovery_Docs.pdf",
53
+ "Watson_Studio_Manual.pdf"
54
+ ]
55
+ },
56
+ "IBM Consulting Services": {
57
+ "index_1": "b3c4d5e6-7f89-4a12-b3c4-d5e6f7a8b9c0",
58
+ "index_2": "d5e6f7a8-9b0c-1d2e-3f4g-5h6i7j8k9l0",
59
+ "contents": [
60
+ "Consulting_Methodology.pdf",
61
+ "Service_Offerings.pdf",
62
+ "Case_Studies.pdf"
63
+ ]
64
+ },
65
+ "IBM Security Solutions": {
66
+ "index_1": "g4h5i6j7-8k9l-0m1n-2o3p-4q5r6s7t8u9",
67
+ "index_2": "i7j8k9l0-1m2n-3o4p-5q6r-7s8t9u0v1w2",
68
+ "contents": [
69
+ "Security_Products_Overview.pdf",
70
+ "Security_Best_Practices.pdf",
71
+ "Threat_Management_Guide.pdf"
72
+ ]
73
+ },
74
+ "IBM AI & Analytics": {
75
+ "index_1": "m1n2o3p4-5q6r-7s8t-9u0v-1w2x3y4z5a6",
76
+ "index_2": "p4q5r6s7-8t9u-0v1w-2x3y-4z5a6b7c8d9",
77
+ "contents": [
78
+ "AI_Solutions_Overview.pdf",
79
+ "Analytics_Platform_Guide.pdf",
80
+ "Machine_Learning_Docs.pdf"
81
+ ]
82
+ }
83
+ }