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
Pydantic program
Pydantic program
Inactive
0
Follow
b
bmax
last year
Β·
Can you use OpenAIPydanticProgram with any index?
L
b
6 comments
Share
Open in Discord
L
Logan M
last year
Not really -- but planning on it
Concepts like "refining an object" seem a little strange -- I guess you'd have to dump it to a dict in the prompt?
As a small work around, you could run a pydantic program on the output of a query engine
b
bmax
last year
interesting..........
b
bmax
last year
No way to pass documents into it either? π
b
bmax
last year
Maybe I could make a PR π
L
Logan M
last year
You could throw in
document.text
into one
Although you'd you'd probably want to throw the document through a node parser to ensure the size won't be an issue
L
Logan M
last year
Yea if you have an idea for it, go for it! πͺ
Add a reply
Sign up and join the conversation on Discord
Join on Discord