voideditor / void

https://voideditor.com
MIT License
8.01k stars 396 forks source link

[Improvement] Homogeneous SDK for all AI model providers via Vercel ai sdk #27

Closed pradhyumna85 closed 1 month ago

pradhyumna85 commented 1 month ago

Current LLM calling implementations: https://github.com/voideditor/void/blob/main/extensions%2Fvoid%2Fsrc%2Fcommon%2FsendLLMMessage.ts

Proposal

I think we should replace all the existing model calling interfaces with a single homogeneous API for all popular providers using Vercel AI SDK: https://sdk.vercel.ai/docs/introduction

benefits

okxiaoliang4 commented 1 month ago

I am working for this. PR going soon

andrewpareles commented 1 month ago

Closing; further work will take place in #41