Coder Social home page Coder Social logo

scoutink / llocalsearch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nilsherzig/llocalsearch

0.0 0.0 0.0 227 KB

LLocalSearch is a completely locally running search aggregator using LLM Agents. The user can ask a question and the system will use a chain of LLMs to find the answer. The user can see the progress of the agents and the final answer. No OpenAI or Google API keys are needed.

License: Apache License 2.0

JavaScript 1.90% Go 49.77% TypeScript 2.79% CSS 0.09% Makefile 2.68% HTML 0.58% Dockerfile 1.84% Svelte 40.35%

llocalsearch's Introduction

LLocalSearch

Important

I've pushed some very important performance upgrades and hotfixes to the container registry. Please run "docker-compose pull" to update your containers.

05.04.2024 switching the embedding model, please update containers. I will add an update notification to the webui in the future :).

What it is

LLocalSearch is a completely locally running search aggregator using LLM Agents. The user can ask a question and the system will use a chain of LLMs to find the answer. The user can see the progress of the agents and the final answer. No OpenAI or Google API keys are needed.

Now with follow-up questions:

demo.mp4

image

Features

  • ๐Ÿ•ต๏ธ Completely local (no need for API keys)
  • ๐Ÿ’ธ Runs on "low end" LLM Hardware (demo video uses a 7b model)
  • ๐Ÿค“ Progress logs, allowing for a better understanding of the search process
  • ๐Ÿค” Follow-up questions
  • ๐Ÿ“ฑ Mobile friendly interface
  • ๐Ÿš€ Fast and easy to deploy with Docker Compose
  • ๐ŸŒ Web interface, allowing for easy access from any device
  • ๐Ÿ’ฎ Handcrafted UI with light and dark mode

Status

This project is still in its very early days. Expect some bugs.

How it works

Please read infra to get the most up-to-date idea.

Self-hosting & Development

Requirements

  • A running Ollama server, reachable from the container
    • GPU is not needed, but recommended
    • ๐Ÿ”ด make sure that Ollama is not just listening on localhost but on all interfaces (or at least the docker network). You don't have to change anything if you're using ollama inside docker.
  • Docker Compose

Run the latest release

Recommended, if you don't intend to develop on this project.

git clone https://github.com/nilsherzig/LLocalSearch.git
cd ./LLocalSearch
# ๐Ÿ”ด check the env vars inside the compose file (and `env-example` file) and change them if needed
docker-compose up 

๐ŸŽ‰ You should now be able to open the web interface on http://localhost:3000. Nothing else is exposed by default.

Run the current git version

Newer features, but potentially less stable.

git clone https://github.com/nilsherzig/LLocalsearch.git
# 1. make sure to check the env vars inside the `docker-compose.dev.yaml`.
# 2. Make sure you've really checked the dev compose file not the normal one.

# 3. build the containers and start the services
make dev 
# Both front and backend will hot reload on code changes. 

If you don't have make installed, you can run the commands inside the Makefile manually.

Now you should be able to access the frontend on http://localhost:3000.

stars

Kinda looks like im botting haha

Star History Chart

llocalsearch's People

Contributors

nilsherzig avatar popey avatar jpoz avatar sinwoobang avatar xiaoconstantine avatar dependabot[bot] 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.