Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utilise Dalai API for Local Llama/Alpaca AI #32

Open
matteoveglia opened this issue Mar 19, 2023 · 2 comments
Open

Utilise Dalai API for Local Llama/Alpaca AI #32

matteoveglia opened this issue Mar 19, 2023 · 2 comments

Comments

@matteoveglia
Copy link

Hi,
It would be great, seeing as this is a self-hosted project anyway, to have it also give the ability to connect to the dalai service created by this project:
https://github.com/cocktailpeanut/dalai

The project is designed specifically for interaction with the Llama and Alpaca models, of all sizes. It has it's own web interface but it's more just for testing than actual production like ai-chat-app is.

@jimzer
Copy link
Contributor

jimzer commented Mar 21, 2023

Thanks for sharing the tool; I didn't know it.

We could handle multiple AI APIs; I need to think of the best way to do it, though 🤔.

Maybe a configuration view, where you can specify which AI APIs you want to use and the given model parameters for the query.
However, the app itself should not host the model since it's a UI to interface with AI APIs.
So you would run the Llama model in a separate service and make queries via the app.

What do you think?

@matteoveglia
Copy link
Author

Yeah absolutely, both this project and Dalai would remain separate, I think looking at your app as more of a 'model agnostic' portal to AI models would be the best thing absolutely.

The dalai tool allows for interfacing through a socket.io connection and it looks like you can do quite a bit with that so I think that's the best route

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants