Log in
Log into community
Find answers from the community
s
F
Y
a
P
3,278
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated last month
0
Follow
Retrieval transform
Retrieval transform
0
Follow
m
mkern
last year
ยท
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
last year
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
last year
great pointer! this should do it, thank you!
Add a reply
Sign up and join the conversation on Discord
Join on Discord