Coder Social home page Coder Social logo

vaskho / nika Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ostis-apps/nika

0.0 0.0 0.0 4.92 MB

NIKA is an Intelligent Knowledge-driven Assistant

Home Page: https://ostis-apps.github.io/nika/

License: GNU General Public License v3.0

Shell 1.50% JavaScript 3.21% C++ 65.32% Python 5.36% TypeScript 17.74% CSS 2.39% HTML 0.29% CMake 3.53% Dockerfile 0.66%

nika's Introduction

Welcome to NIKA ๐Ÿ‘‹

GPLv3

NIKA is an Intelligent Knowledge-driven Assistant

About

NIKA is an ostis-system designed with OSTIS Technology principles in mind.

You can learn more about it by asking the assistant: "What's NIKA?"

Run documentation

#Terminal
cd nika
pip3 install mkdocs markdown-include mkdocs-material mkdocs-i18n
mkdocs serve

Then open http://127.0.0.1:8002/ in your browser

โœจ Demo

demo.png

Requirements

You will need Docker (with Compose plugin) installed and running on your machine.

We recommend using Docker Desktop on macOS / Windows and using Docker Server distribution for your Linux distribution of choice. Use installation instructions provided in the links above.

Installation

git clone -c core.longpaths=true -c core.autocrlf=true https://github.com/ostis-apps/nika
cd nika
git submodule update --init --recursive
docker compose pull

๐Ÿš€ Usage

  • Launch
    docker compose up --no-build
    This command will launch 2 Web UIs on your machine:
    • sc-web - localhost:8000
    • dialogue web UI - localhost:3033

We've set our system to rebuild KB on each restart. If you're debugging some specific subset of your knowledge base you may want to change repo.path to exclude the folders you don't need.

If you do not want to rebuild KB on relaunch, you can comment out the REBUILD_KB environment variable in docker-compose.yml. You can use docker compose run machine build to rebuild KB manually.

Author

Show your support

Give us a โญ๏ธ if you've liked this project!

Troubleshooting

Windows-specific problems:

  • Docker images built on your computer are not launching correctly and logging something along these lines: bash\r: No such file or directory

    Solution: please make sure your Git repo is configured to be compatible UNIX line endings

    cd nika
    git config --local core.autocrlf true
  • Git cannot clone repos or submodules, error looks like error: unable to create file ... (file too long)

    Solution: please make sure your Git repo has longpaths config option enabled:

    cd nika
    git config --local core.longpaths true

Common issues:

  • Docker images cannot be built locally. Error: status: the --mount option requires BuildKit

    Solution: Please note that you'd only need it for custom images, you can launch our system without building images yourself. Use the Docker Docs BuildKit reference to enable Docker BuildKit on your computer. In case you're using Windows, you could use $env:DOCKER_BUILDKIT = 1 while building in PowerShell.

  • Help! My problem-solver container is unhealthy

    Looks like your container didn't start properly. There are two main reasons for this: violated start_period (in case it naturally takes a lot of time to launch our system on your hardware) or faulty server instance. Since there are 2 reasons to this problem, we'll provide 2 solutions.

    Solution 1: Increasing start_period in docker-compose.yml might help you.

    Solution 2: Check known issues, and in case your problem is not reported yet, create a new one!

๐Ÿค Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

๐Ÿ“ License

This project is GPLv3 licensed.

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.