How does the DQN agent decide which RAG tool to use? #2
Answered
by
jefcoder
aidencayfordwork
asked this question in
Q&A
|
Hi cforge,
|
Answered by
jefcoder
Nov 18, 2025
Replies: 1 comment
Summary |
0 replies
Answer selected by
aidencayfordwork
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The DQN agent receives a vectorized representation of the query as its input state. This includes:
These features are extracted and encoded to help the agent understand the nature of the task.
Each available RAG tool is treated as a discrete action: