fix: track followup question in cot retriever
This commit is contained in:
parent
aa2712ddb8
commit
8eee3990f7
1 changed files with 6 additions and 0 deletions
|
|
@ -277,6 +277,12 @@ class GraphCompletionCotRetriever(GraphCompletionRetriever):
|
|||
for batched_query_state in query_state_tracker.values()
|
||||
]
|
||||
)
|
||||
|
||||
for batched_query, batched_followup_question in zip(
|
||||
query_batch, followup_question_batch
|
||||
):
|
||||
query_state_tracker[batched_query].followup_question = batched_followup_question
|
||||
|
||||
logger.info(
|
||||
f"Chain-of-thought: round {round_idx} - follow-up questions: {followup_question_batch}"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue