Skip to content

πŸ¦™ Ollama, 🟨 Ollama-js and πŸ¦œπŸ”— LangChain JS with 🍊 Gitpod πŸŽ‰

License

Notifications You must be signed in to change notification settings

bots-garden/ollama-js-langchain

Repository files navigation

πŸ¦™ Ollama, 🟨 Ollama-js and πŸ¦œπŸ”— LangChain JS with 🍊 Gitpod πŸŽ‰

  • βœ‹ this is a work in progress 🚧, but you can already play with it πŸ₯°
  • πŸ€– caution: it's not for production, it's for learning purpose

Open in Gitpod

This project used the Ollama project and its Docker image.

The main goal is to experiment with Ollama-js and LangChain JS

Start the project

This project will download all the dependencies at start, and then start the model. So be patient.

The model is loaded at the start of the Gitpod project.

  • It pulls the Docker image
  • It starts the Docker Ollama container
  • Ollama download the LLM and then starts it

The model is: tinydolphin

Once the model started, you can check if everything is ok with this command (in another terminal):

curl -X POST http://localhost:11434/api/generate -d '{
"model": "tinydolphin",
"prompt":"Why is the sky blue?"
}'

About

πŸ¦™ Ollama, 🟨 Ollama-js and πŸ¦œπŸ”— LangChain JS with 🍊 Gitpod πŸŽ‰

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published