GithubHelp home page GithubHelp logo

multipleaichat's Introduction

複数AIと会話する実験

環境構築

python -m venv venv
.\venv\scripts\activate

pip install -r requirements.txt

実行

VOICEVOX ENGINEを裏で立ち上げておいてrun.pyを実行します。-cの後ろに登場させるキャラ名を複数連ねます。
実行後まず何らかのユーザー入力を行うと会話が始まりますが、AI同士が話し始めるかどうかは運次第です。

python run.py -c dereko interiko

Note
exitを入力すると終了します。

オプション :

usage: run.py [-h] [-c [CHARACTER ...]] [-v VERBOSE]

options:
  -h, --help            show this help message and exit
  -c [CHARACTER ...], --character [CHARACTER ...]
                        キャラクター名。複数指定可。
  -v VERBOSE, --verbose VERBOSE
                        コンソールに情報を出力

キャラクターデータ

以下のようにcharacter_data階層の下に各キャラの名前(ID)フォルダがあり、その中にペルソナ情報が入っています。run.py-cオプションにはこのIDを指定します。

MultipleAIChat
└─character_data
    ├─dereko
    │       settings.json
    │       talksample.txt
    │       talkstyle.txt
    │
    └─interiko
            settings.json
            talksample.txt
            talkstyle.txt

解説

AIキャラ同士の会話に僭越ながら人間1名ほど参加させていただく

VOICEVOX ENGINE

multipleaichat's People

Contributors

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