Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
Retrieval transform
Retrieval transform
Inactive
0
Follow
m
mkern
2 years ago
ยท
anyone know how one can apply a simple transform to a prompt before retrieval, but use the actual prompt for LLM generation?
L
m
2 comments
Share
Open in Discord
L
Logan M
2 years ago
I think you can probably create a custom retriever for this
You can do anything you want, as long as the retriever returns a list of nodes
This example is slightly different, but the general outline is the same
https://gpt-index.readthedocs.io/en/latest/examples/query_engine/CustomRetrievers.html#define-custom-retriever
m
mkern
2 years ago
great pointer! this should do it, thank you!
Add a reply
Sign up and join the conversation on Discord
Join on Discord