Git Product home page Git Product logo

llama3-bot's Introduction

Llama 3 | Discord Bot

A Virtual Chat assistant you can ask unlimited questions to. If you're not aware of what ollama or llama 3, check out they're GitHub for details on how it works. I just slapped it into a Discord bot. Quite simply, they're chatgpt but open source, so its free unlimited usage for developers and you! No OpenAI Token required.

Quick Start Guide (local install)

  1. Install Docker
  2. Create an Ollama container. docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
  3. Click the Code button.
  4. Click Download ZIP.
  5. Navigate to the downloaded zip file.
  6. Unzip the file.
  7. Navigate into the llama3-bot folder until you see package.json
  8. Open quickstart.bat

Configuration

The options within the config file you're free to change however you'd like, just note the prefix must be lowercase as suggested by its name.

The Program string will tell the AI how to act, if you want it to rude, you would tell it there. I chose to tell it what it was instead of asking it to act a certain way, but I'm not certain it makes a difference.

The prefix is, simply how you access it. I really hate prefixes, especially for FAQ/Chat bots, feels to clunky, I prefer a more alexa/google home/smart assistant feel, but its up to you how it works. It checks the start of the users message for the "prefix" so ensure you don't use a phrase/letter/word that you know is used frequently in your servers.

Simple config for a simple bot.

Contribution

Open an issue if you have an issue or a feature request. Make a fork and open a pull request if you have a change.

I likely won't be doing too much feature changes on my own, I'll accept pull requests if they're valuable, and I'll look into feature requests, but I don't think there is much more to change. I'll likely only do package upgrading, etc.

llama3-bot's People

Contributors

backwardsuser avatar

Watchers

 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.