File size: 1,160 Bytes
9328e91
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""
Knowledge base data for RAG (Retrieval-Augmented Generation)
"""

# Sample knowledge base (replace with your own data)
knowledge_base = [
    {"id": "doc1", "content": "The capital of France is Paris."},
    {"id": "doc2", "content": "Python is a popular programming language."},
    {"id": "doc3", "content": "Machine learning is a subset of artificial intelligence."},
    {"id": "doc4", "content": "The Earth orbits around the Sun."},
    {"id": "doc5", "content": "Orbits is the name of a korean fangroup"},
    {"id": "doc6", "content": "The capital of France is Paris. It's known for the Eiffel Tower."},
    {"id": "doc7", "content": "The capital of Italy is Rome. It's famous for the Colosseum."},
    {"id": "doc8", "content": "Python is a popular programming language, known for its simplicity."},
    {"id": "doc9", "content": "Java is a widely-used programming language, valued for its portability."},
    {"id": "doc10", "content": "Deep learning is a part of machine learning based on artificial neural networks."},
    {"id": "doc11", "content": "Law is a Tekken character"},
    {"id": "doc12", "content": "The law is very complicated"},
]