Giter Site home page Giter Site logo

tardis2012 / folotoy-server-self-hosting Goto Github PK

View Code? Open in Web Editor NEW

This project forked from folotoy/folotoy-server-self-hosting

0.0 0.0 0.0 28 KB

Config files for self-hosting the FoloToy Server.

Home Page: https://tool.folotoy.com

License: GNU General Public License v3.0

folotoy-server-self-hosting's Introduction

folotoy-server-self-hosting

Config files for self-hosting the FoloToy Server.

Quick Start

Configuration

Change 192.168.41.154 in docker-compose.yml to your server IP.

Run

docker compose up -d

Update

  • docker compose pull
  • docker compose up -d

Advanced

Custon OpenAI API Path

Remove # of the line in docker-compose.yml

#OPENAI_API_BASE: https://xxx.com/v1

Use Azure OpenAI

Remove # of the line in docker-compose.yml

#OPENAI_OPENAI_TYPE: azure

Custom Prompt and Voice

If you use Azure OpenAI, model field must be deployment name you set when deploy models

Azure Language List

{"1": {
    "model": "gpt-3.5-turbo",
    "start_text": "你好,我是火火兔,请问有什么我可以帮助你的吗?",
    "prompt": "你是一个知识渊博,乐于助人的智能机器人,你的名字叫“火火兔”,你的任务是陪我聊天,请用简短的对话方式,用中文讲一段话,每次回答不超过50个字!",
    "max_message_count": 0,
    "temperature": 0.7,
    "max_tokens": 800,
    "top_p": 0.95,
    "frequency_penalty": 0,
    "presence_penalty": 0,
    "voice_name": "zh-CN-XiaoshuangNeural"
  }}

Security Tips

  • Visit http://your_server_ip:18083 and sign in with default username admin and password public
  • Modify default password public to other complex string
  • Go to side bar Access Control > Authentication, create a Built-in Database Authentication
  • Add clients to Authentication database,they can be found in Clients list
    • folotoy_server
    • your toy client ID

folotoy-server-self-hosting's People

Contributors

lewangdev 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.