Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applying evaluation framework #89

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ chunk_overlap: 100

admin_email: bukosabino@gmail.com

embeddings_model_name: dariolopez/roberta-base-bne-finetuned-msmarco-qa-es-mnrl-mn
embeddings_model_size: 768
embeddings_model_name: intfloat/multilingual-e5-large
embeddings_model_size: 1024

vector_store: 'qdrant' # {'qdrant', 'pinecone', 'supabase'}
top_k_results: 10
Expand All @@ -27,11 +27,17 @@ prompt_system_context: |
collections:
- justicio
- boe
- boe-multilingual-e5-large
- bocm
- bocm-multilingual-e5-large
- bopz
- bopz-multilingual-e5-large
- bopv
- bopv-multilingual-e5-large
- boja
- boja-multilingual-e5-large
- boa
- boa-multilingual-e5-large

# Openai
llm_model_name: 'gpt-3.5-turbo-0125' # 'gpt-3.5-turbo-1106', 'gpt-4-1106-preview'
Expand Down
14 changes: 14 additions & 0 deletions doc/qdrant/queries.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ GET collections
// Get collection info
GET collections/justicio

// Create a new collection
// https://qdrant.tech/documentation/tutorials/bulk-upload/
PUT /collections/{collection_name}
{
"vectors": {
"size": 1024,
"distance": "Cosine"
},
"shard_number": 2,
"optimizers_config": {
"indexing_threshold": 0
}
}

// List points in a collection, using filter by metadata
POST collections/justicio/points/scroll
{
Expand Down
Loading