3 ms·
How does TypeChat tie you to OpenAI more than zod-gpt does? The interface required of a chat completion model is as simple as it gets, and you can provide your
by semiquaver 3y ago
How does TypeChat tie you to OpenAI more than zod-gpt does? The interface required of a chat completion model is as simple as it gets, and you can provide your own easily (as the linked post makes clear)
https://github.com/microsoft/TypeChat/blob/4d34a5005c67bc49444e6e6d016a9262cf24b38d/src/model.ts#L23 https://github.com/microsoft/TypeChat/blob/4d34a5005c67bc494...
- BoorishBears 3y agoThe ergonomics of most of these AI libraries are built around using whatever models they provide integrations for: according to the file you linked retries won't even work unless you go and roll them in your implementation. I'm sure someone will open a PR for Anthropic/Cohere/etc. but a quick glance made it pretty clear they made it with OpenAI-first in mind, or even low hanging fruit like retries would have been abstracted away at a higher level.