Künstlicher Assistent repräsentiert durch LLMs
Karl is a small robot living inside a tube television. With the help of a library called Ollama, he can access artificial intelligences. Primarily, Llava and Llama2 are used, which operate in both image and text-based contexts. Users can have documents processed, get image descriptions, and analyze current websites through Karl. Llama2 has a large database that can be accessed through Karl.
- 🤖 - Local artificial intelligence
- 💬 - Chatbot function
- 🗣️ - Speech-to-text function
- 🖼️ - Image scanning
- 📄 - Document scanning
- 📷 - Webcam scanning
KARL's intelligence operates locally and can function without internet connectivity in theory; it can also be switched to other AI models and process various types of documents.
- 🔗 Expanded File Type Integration: Incorporate additional document formats such as docx or excel.
- 🤖 AI-Powered Coding: Utilize KARL as your primary tool for solving daily coding challenges.
- Ubuntu version 22.04: 🐧🖥️2️⃣2️⃣.0️⃣4️⃣
- Minimum 20GB RAM: 💾2️⃣0️⃣GB
- Nvidia GPU for Ollama: 🎮💻🔥
- Minimum 10-core CPU: 💻🔟
- Google Chrome as the browser: 🌐🔍
This guide will walk you through the installation process step by step.
sudo apt update
sudo apt install curl git nodejs npm python3 python3-pip wget
sudo apt full-upgrade
sudo apt install npm
sudo apt install google-chrome-stable
sudo apt-get install -f
pip install flask flask-cors langchain
sudo curl https://ollama.ai/install.sh | sh
ollama serve
ollama pull llava
ollama pull llama2
cd Desktop
git clone https://github.com/vw-wob-it-edu/KARL.git
cd KARL
pip install -r requirements.txt
sudo reboot
cd KARL-Server #where project is located
chmod +x server-start.sh
./server-start.sh
MIT License
Copyright (c) 2024 KARL
- Roboto Mono: Used for code blocks and monospace text.
- Grape Nuts: Presumably used for specific stylized text elements.
- Core CSS and JS from pyscript.net: custom styling and functionality.
- Font Awesome: Icon library for scalable vector icons.
- Webcam Easy: Script for handling webcam functionalities.
- Express: Framework for building web applications with Node.js.
- Body Parser: Middleware for parsing incoming request bodies.
- Axios: Promise-based HTTP client for making requests.
- Flask: Micro web framework for Python.
- Flask CORS: Extension for handling Cross-Origin Resource Sharing (CORS).
- Langchain: Custom library for language processing tasks.
- langchain.document_loaders.WebBaseLoader for loading web pages.
- langchain.text_splitter.RecursiveCharacterTextSplitter for text splitting.
- langchain.vectorstores.Chroma for vector storage.
- langchain.llms.Ollama is used for language modeling.
- Handles API endpoints for text processing and file handling.