File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ This repository demonstrates how to combine embedding and reranking to develop
42
42
- Generate an embedding for the query.
43
43
- Perform a similarity search within the vector database to identify the most relevant chunks based on their embeddings.
44
44
- Retrieve these chunks as context for your query.
45
- - Rerank the results using Hugging Face [ Reranker] ( https://huggingface.co/docs/text-embeddings-inference/en/quick_tour#re-rankers )
45
+ - ** Rerank** the results using Hugging Face [ Reranker] ( https://huggingface.co/docs/text-embeddings-inference/en/quick_tour#re-rankers )
46
46
47
47
5 . ** Integrate with LLM Provider** :
48
48
- Supported LLM Providers
@@ -53,7 +53,7 @@ This repository demonstrates how to combine embedding and reranking to develop
53
53
- Design a prompt template that incorporates both the original query and the context retrieved from the vector database.
54
54
55
55
7 . ** Process with LLM** :
56
- - Send the augmented prompt, including the query and context, to the Large Language Model (LLM) for processing and generation of responses.
56
+ - Send the augmented prompt, including the query and reranked context, to the Large Language Model (LLM) for processing and generation of responses.
57
57
58
58
This allows to enhance language processing tasks by leveraging the power of vector databases and advanced embedding models.
59
59
You can’t perform that action at this time.
0 commit comments