microsoft / TypeChat

TypeChat is a library that makes it easy to build natural language interfaces using types.
https://microsoft.github.io/TypeChat/
MIT License
8.06k stars 379 forks source link

Python Support #38

Closed jxnl closed 6 months ago

jxnl commented 11 months ago

Hey I’m solo developing https://github.com/jxnl/openai_function_call

Would love to work together to find abstractions. I’ll likely take and cite a lot of the great documentation you have.

hax commented 11 months ago

It seems some old commits of typechat also had experimental python support.

steveluc commented 11 months ago

Yes, we are still experimenting with that! The main point of investigation is what schema language to use for prompting and validation.

Duncanr-glitch commented 11 months ago

Just my two cents, but I would hope even in a python package to still be able to provide a typescript schema in addition to python typing since typescript is IMHO more robust and dev friendly than python types

DanielRosenwasser commented 6 months ago

Hey folks, we have a PR for the basis of Python support over here: https://github.com/microsoft/TypeChat/pull/148

We won't be shipping right away, so some stuff will likely still change post-merge, but if people have thoughts or opinions (now or later), I wouldn't mind some feedback!

DanielRosenwasser commented 6 months ago

Just a question - how do people feel about an API that's all-async?