Giter Club home page Giter Club logo

solanaceae_llama-cpp-web's Introduction

llama.cpp webserver based api + RPBot

used llama embedded webserver api for easier portability

LlamaCppWeb config options

  • LlamaCppWeb, server
    • type: string
    • host + port
    • default: localhost:8080

RPBot config options

TODO: move rpbot to own repo

  • RPBot, system_prompt(, opt contact ID)

    • type: string
    • System prompt that is prefixed
    • can contain specific formatters:
      • {self_name} username for specified chat
      • {online_users} coma seperated list of online users
    • default: Transcript of a group chat, where {self_name} talks to online strangers.\n{self_name} is creative and curious. {self_name} is writing with precision, but also with occasional typos.\n
  • RPBot, min_messages(, opt contact ID)

    • type: int
    • TODO: implement per ID
    • default: 4
  • RPBot, max_cont_messages(, opt contact ID)

    • type: int
    • TODO: implement per ID
    • default: '4'
  • RPBot, max_interactive_delay(, opt contact ID)

    • type: float
    • TODO: implement per ID
    • default: 4.0

example config

{
	"LlamaCppWeb": {
		"server": "localhost:8080"
	},
	"RPBot": {
		"min_messages": 1,
		"system_prompt":  "A group chat with an artificial intelligence assistant called {self_name}. The assistant gives helpful and detailed answers to the chat participants's questions. The assistant has it's own opinions. {self_name} only ever answers when explicitly asked.\n"
		}
	}
}

solanaceae_llama-cpp-web's People

Contributors

green-sky 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.