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

Possible to use it without docker? #6

Closed
coldcode69 opened this issue Mar 25, 2023 · 9 comments
Closed

Possible to use it without docker? #6

coldcode69 opened this issue Mar 25, 2023 · 9 comments

Comments

@coldcode69
Copy link

Would really appreciate some instructions or guidance for getting this working directly, without docker. I noticed it's using a modified llama.cpp mixed with golong, but I don't have enough knowledge with this to build it. I did try building it but got a error about lama.h not being found.

@mudler
Copy link
Owner

mudler commented Apr 4, 2023

good point, I'll have a look as soon as possible.

@mkellerman
Copy link
Contributor

You can try and copy my Makefile from here: https://github.com/go-skynet/llama-cli/blob/ad18b8305449b54f63383408bc47c246cacdf419/Makefile

If you have all the required GO dependancies, you can use make build and make run to run it on your machine directly.

@mkellerman
Copy link
Contributor

@mudler if this Makefile is tested and merged, then we could close this issue?

(we could make it a seperate PR if you wish)

@mkellerman
Copy link
Contributor

you should now be able to do 'make build' if you use latest and have all the required dependancies (ie: go, cmake).

@mudler i think we can close this item.

We would need to update the documentation tho, so this issue doesn't re-apead for lack of docs.

@limcheekin
Copy link

limcheekin commented Apr 22, 2023

I don't have experience in GoLang. Currently I have a question answering chatbot developed using LangChain Python and hosted as AWS Lambda function. You may want to look into the github repo at https://github.com/limcheekin/serverless-flutter-gpt.

I want to swap out the OpenAI API dependency to LocalAI if possible. Appreciate your advise whether it is feasible to do so and please share the steps on how to do so.

Thanks in advanced.

@mudler
Copy link
Owner

mudler commented Apr 22, 2023

I don't have experience in GoLang. Currently I have a question answering chatbot developed using LangChain Python and hosted as AWS Lambda function. You may want to look into the github repo at https://github.com/limcheekin/serverless-flutter-gpt.

I want to swap out the OpenAI API dependency to LocalAI if possible. Appreciate your advise whether it is feasible to do so and please share the steps on how to do so.

Thanks in advanced.

@limcheekin 👋 feel free to join our Discord channel, however I think it should be as simple as specifying from the OpenAI client you already use a different base_url, and point it to where the API runs.

@mudler
Copy link
Owner

mudler commented Apr 22, 2023

I'm closing this issue now, as building locally should be possible with make build. I've opened #66 to track having binary releases

@mudler mudler closed this as completed Apr 22, 2023
@mudler
Copy link
Owner

mudler commented May 25, 2023

Update: binary releases now are available too https://github.com/go-skynet/LocalAI/releases/tag/v1.15.0

@ralyodio
Copy link

how do we use?

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

5 participants