EvanZhouDev / bard-ai

A lightweight library to access Google Bard.
https://www.npmjs.com/package/bard-ai
GNU General Public License v3.0
117 stars 31 forks source link

text-to-action support #28

Closed ansarizafar closed 1 year ago

ansarizafar commented 1 year ago

It would be great If bardai has a built-in support for text-to-action like https://github.com/alexgriffithsdev/actionit

ThatXliner commented 1 year ago

I don’t think builtin support is a good idea. It would add unnecessary bloat to the library as the user could implement it themselves, unless they can’t without modifying the library.

EvanZhouDev commented 1 year ago

What @ThatXliner said. Closing.

It may be possible for us to make something like this in the future, in another library.

ansarizafar commented 1 year ago

Microsoft has just released TypeChat https://microsoft.github.io/TypeChat/docs/introduction/ so we don't have to create our own library we just need to implement createLanguageModel function https://github.com/microsoft/TypeChat/blob/main/src/model.ts to use TypeChat with BardAI.