Fading_Moments / knowledge_bases.py
MilanM's picture
Update knowledge_bases.py
cfa39e2 verified
raw
history blame
3.91 kB
"""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."
}
}