Skip to content

Commit

Permalink
Update retrieval_augmented_generation_eval_qdrant_arize.md
Browse files Browse the repository at this point in the history
small corrections
  • Loading branch information
robertdhayanturner authored Aug 11, 2024
1 parent d8e460d commit a73716c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Below, we'll cover:
> The code here is from our [github repo](https://github.com/qdrant/qdrant-rag-eval/tree/master/workshop-rag-eval-qdrant-arize).
> There's also a walkthrough workshop [video](https://www.youtube.com/watch?v=m_J0nFmnrPI) available for reference.
Lets begin!
Let's begin!

## Key concepts and metrics in Phoenix

Expand Down Expand Up @@ -343,7 +343,7 @@ hybrid_retriever = VectorIndexRetriever(

In the snippet above, the `alpha` parameter is our magic button for sliding between sparse and dense vector search. We set our retriever to `alpha=0.1`, which means 90% of the relevance score of our query outcomes result from sparse vector search, and 10% from dense vector search.

`alpha` is, of course, adjustible to your use case's requirements. Though it shouldn't be changed arbitrarily, if you were to change it, you would do it like this:
`alpha` is, of course, adjustable to your use case's requirements. Though it shouldn't be changed arbitrarily, if you were to change it, you would do it like this:

```python
hybrid_retriever._alpha = 0.1
Expand Down Expand Up @@ -474,4 +474,4 @@ We should mention that there are other ways - outside the scope of this article

Now it's your turn to try! Don’t forget to star and contribute your experiments. We welcome your feedback and suggestions.

The complete code for this article is [here](https://github.com/qdrant/qdrant-rag-eval/tree/master/workshop-rag-eval-qdrant-arize).
The complete code for this article is [here](https://github.com/qdrant/qdrant-rag-eval/tree/master/workshop-rag-eval-qdrant-arize).

0 comments on commit a73716c

Please sign in to comment.