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 2 years ago
0
Follow
what would be the best way to use
what would be the best way to use
Inactive
0
Follow
m
mkern
2 years ago
Β·
what would be the best way to use
OpenAIPydanticProgram
in response synthesis from an index?
L
m
4 comments
Share
Open in Discord
L
Logan M
2 years ago
We don't quite have a good integration for the pydantic program directly within an index query yet.
The closest integration is in an agent setting for choosing which index to query, something like
https://github.com/jerryjliu/llama_index/blob/main/docs/examples/agent/openai_agent_with_query_engine.ipynb
L
Logan M
2 years ago
Would be super open to a PR that adds some kind of deep integration though!
m
mkern
2 years ago
I might be able to give that a try tomorrow!
L
Logan M
2 years ago
That would be amazing!
I'm undecided on the best way to integrate this, but If you are curious, it could either be a new query engine, or just a new response mode π€ Likely the query engine would be the easier approach though
Add a reply
Sign up and join the conversation on Discord
Join on Discord