Generate Block not working properly #9056
Unanswered
nikghost17
asked this question in
Q&A
Replies: 1 comment 4 replies
-
please need help !! |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am creating a rag agent
so basically I am creating a chatbot for finantial document
as you can see I am performing different steps so that retrieval will be spot on
Ideal behaviour -->>>
from retrieval_1 (from loop) and retrieval_0 (after the keywords) I am getting some chunks of data (piece of data from the pdfs) for a specific user query (user asked question)
that chunks I want to pass to my llm (named 'Relevance-Score-Calculator' (the 'Relevance-Sco...'), llm is open-AI gpt 4o) for some operation
problem in this -->>>
when I pass these chunks there are a few duplicates
which if I pass to llm it exceeds the limit of my llm
now for that I have added another generate block name unique-chunks-passer
it is supposed to pass unique chunks futher
the prompt-->>
now dispite this the generated output is the answer to the user question not the unique chunks array
##INPUT->>
##OUTPUT
Beta Was this translation helpful? Give feedback.
All reactions