more relevant documents

This commit is contained in:
Alexander Svan
2025-04-07 17:11:37 +02:00
parent 6bfca14c62
commit fca9a9dcc3
2 changed files with 4 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ python script.py seed
And then you can do your search And then you can do your search
```bash ```bash
python script.py search --query "How does AI change industries?" python script.py search --query "What is NAF and how can it help?"
``` ```
## Roadmap ## Roadmap

View File

@@ -21,10 +21,9 @@ def get_embedding(text, embedding_model):
def seed_database(embedding_model): def seed_database(embedding_model):
"""Seed the ChromaDB with example documents.""" """Seed the ChromaDB with example documents."""
documents = [ documents = [
"Artificial Intelligence is transforming industries.", "NAF is a architectural framework.",
"Machine learning helps computers learn from data.", "C3 Taxonomi helps define capabilties.",
"Deep learning uses neural networks to process information.", "Architectural framework help organizations define architecture in standardized way with diffrent view points.",
"RAG enhances language models with retrieved knowledge."
] ]
for i, doc in enumerate(documents): for i, doc in enumerate(documents):