Giter VIP home page Giter VIP logo

ollama-frontend's Introduction

Ollama client

This is a client for ollama. It cannot be used without it.

This webinterface is currently only available if you have node + npm installed

In order for it to work you first need to open a command line and change the directory to the files in this repo.

After that you need to install all the dependencies. If you have a standard node environment you can install the dependencies like this:

npm install 

If you are a bit more experienced and want to use yarn or pnpm please substitute the commands

As soon as the installation is finished you use

npm start

After a short while you see something like this:

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

If you have ollama and running you can click on the displayed link or type it into the browser.

Right now this client only has chat capabilities for any other operations like pulling models you have to use the command line. You can find more info in the repo of ollama


In case of docker the procedure is different as demonstrated now. We are still in the terminal in the folder containing this project.

First we need to build the image. This can be done with the following command:

docker build -t ollama-client .

In order to use the image we need to run it. This can be done with the following command:

docker run --rm --net host ollama-client

The --host is required to allow the container to access the host network. This is required to allow the client to connect to the ollama server.


It might be the best to lauch ollama with the environment variable OLLAMA_HOST set to 0.0.0.0

This will ensure that ollama communication works as expected

ollama-frontend's People

Contributors

fairytail2000 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.