A company has a typical RAG-enabled, customer-facing chatbot on its website. Select the correct sequence of components a user's questions will go through before the final output is returned. Use the diagram above for reference.
A.
1.embedding model, 2.vector search, 3.context-augmented prompt, 4.response-generating LLM
B.
1.context-augmented prompt, 2.vector search, 3.embedding model, 4.response-generating LLM
C.
1.response-generating LLM, 2.vector search, 3.context-augmented prompt, 4.embedding model
D.
1.response-generating LLM, 2.context-augmented prompt, 3.vector search, 4.embedding model
We need to first vectorize the user question, these vectors will then be used to search the database for relevant documents which will create an augmented prompt that the response-generating LLM will use to provide an answer
In a typical RAG-enabled chatbot, the process usually follows these steps:
Embedding Model: Converts the user’s question into a vector representation.
Vector Search: Finds relevant information based on the vector representation.
Context-Augmented Prompt: Combines the retrieved information with the original question to create a prompt.
Response-Generating LLM: Generates the final response based on the context-augmented prompt.
So, the correct sequence is:
A. 1.embedding model, 2.vector search, 3.context-augmented prompt, 4.response-generating LLM
Option C suggests starting with the response-generating LLM, which doesn’t align with the typical RAG workflow. The LLM needs the context-augmented prompt to generate a relevant response, which is why it comes last in the sequence.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
4af18fc
Highly Voted 4 months, 1 week agotrendy01
Most Recent 3 months, 2 weeks agoHemaKG
3 months, 2 weeks ago