Replies: 1 comment 2 replies
-
We don't have it right now, feel free to open a PR for it! |
Beta Was this translation helpful? Give feedback.
2 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.
-
In our company's project we previously used the python version of LlamaIndex but are currently migrating to TS.
We used the
get_response_synthesizer(response_mode="no_text")
method, because we just needed to get the nodes in a similarity search back, which essentially returns a responseSynthesizer that just returns the nodes.In order to have a similar effect in TS we extended the BaseSynthesizer class as follows
If this is interesting for more people but us, we are happy to contribute the code.
(and yes, I know that the dummy llm casting is not ideal, but this is just a last minute adaption to changes in the current llamaIndexTS release).
If there is a better way to get a similar effect, we would be also interested.
Beta Was this translation helpful? Give feedback.
All reactions