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 8 months ago
0
Follow
Do FnComponents auto typecast based on
Do FnComponents auto typecast based on
Inactive
0
Follow
A
AshwinMS
8 months ago
Β·
Do FnComponents auto typecast based on func param types? If not is there a plan or roadmap to include this with pydantic or any other way? Would love to explore/contribute to this if possible @Logan M
Attachment
L
A
2 comments
Share
Open in Discord
L
Logan M
8 months ago
they do not auto-typecast
You could do that yourself in your function
Or, I thiiiink you can use pydantic
Field
s in function definitions, unsure
A
AshwinMS
8 months ago
Ooo okay will try out something with pydantic once i see my typecasts fail, maybe we could explore how
https://github.com/jxnl/instructor
does it π€
Add a reply
Sign up and join the conversation on Discord
Join on Discord