Find answers from the community

J
JayC
Offline, last seen 6 months ago
Joined September 25, 2024
Is it possible to obtain the complete set of nodes from a query engine, including those results that were initially retrieved but later excluded by the node processor? My goal is to use the top N documents for LLM with the node postprocessor while also having access to the full list of results initially retrieved by the retriever.
4 comments
J
L
Hey, I sometimes encounter the issue below when using the llmrerank node processor. Any idea?


Plain Text
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jayc/Library/Caches/pypoetry/virtualenvs/chatbot-5YPcWG7C-py3.11/lib/python3.11/site-packages/llama_index/indices/utils.py", line 104, in default_parse_choice_select_answer_fn
    answer_num = int(line_tokens[0].split(":")[1].strip())
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
1 comment
L
J
JayC
·

Overwrite

Hi All, I am using postgres as my vectorstore and was wondering if there is a way to overwrite an existing nodes with new content.
12 comments
J
L
J
Are there ways to get responses at each step in the response synthesizers? For example, I have a refine_template and text_qa_template and would like to see what was generated in from qa_template and compare against the final response after refine_template
2 comments
J
L