pgvector_hybrid_search.py
vector_score_weight controls the weighted score. 0.7 assigns 70 percent to vector similarity and 30 percent to normalized full-text rank. The value must be between 0 and 1.
Run the Example
1
Set up your virtual environment
2
Install dependencies
3
Run PgVector
4
Export the API key
5
Run the example