Giter Site home page Giter Site logo

xuyuan23 / operategpt Goto Github PK

View Code? Open in Web Editor NEW
47.0 2.0 10.0 17.42 MB

๐ŸŒŸ Revolutionize Your Operations with One Sentence Automation: Utilizing large language models and Multi-Agents to generate operational copy, images, and videos with one-line requirements.

Home Page: http://operategpt.cn

License: MIT License

Python 100.00%
llms multi-agents operation

operategpt's Introduction

OperateGPT: Revolutionize Your Operations with One-Line Requests

๐Ÿš€๐Ÿš€Experience Now!!

๐Ÿ”ฅ๐Ÿ”ฅLatest Release Version:V0.0.1

๐Ÿ”ฅ๐Ÿ”ฅMulti-Models Management

Using large language models and multi-agent technology, a single request can automatically generate marketing copy, images, and videos, and with one click, can be sent to multiple platforms, achieving a rapid transformation in marketing operations.

OperateGPT Process

Supported LLMs

LLM Supported Model Type Notes
ChatGPT โœ… Proxy Default
Bard โœ… Proxy
Vicuna-13b โœ… Local Model
Vicuna-13b-v1.5 โœ… Local Model
Vicuna-7b โœ… Local Model
Vicuna-7b-v1.5 โœ… Local Model
ChatGLM-6B โœ… Local Model
ChatGLM2-6B โœ… Local Model
baichuan-13b โœ… Local Model
baichuan2-13b โœ… Local Model
baichuan-7b โœ… Local Model
baichuan2-7b โœ… Local Model
Qwen-7b-Chat Coming soon Local Model

Supported Embedding Models

LLM Supported Notes
sentence-transformers โœ… Default
text2vec-large-chinese โœ…
m3e-large โœ…
bge-large-en โœ…
bge-large-zh โœ…

Installation

Firstly, download and install the relevant LLMs.

mkdir models & cd models

# Size: 522 MB
git lfs install 
git clone https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2

# [Optional]
# Size: 94 GB, supported run in cpu model(RAM>14 GB). stablediffusion-proxy service is recommended, https://github.com/xuyuan23/stablediffusion-proxy
git lfs install 
git clone https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0

# [Optional]
# Size: 16 GB, supported run in cpu model(RAM>16 GB). Text2Video service is recommended. https://github.com/xuyuan23/Text2Video
git lfs install
git clone https://huggingface.co/cerspense/zeroscope_v2_576w

Then, download dependencies and launch your project.

yum install gcc-c++
pip install -r requirements.txt

# copy file `.env.template` to new file `.env`, and modify the params in `.env`.
cp .env.template .env 

[Options]
# deploy stablediffusion service, if StableDiffusion proxy is used, no need to execute it!
python operategpt/providers/stablediffusion.py

[Options]
# deploy Text2Video service, if Text2Video proxy server is used, no need to execute it!
python operategpt/providers/text2video.py

# Quick trial: two params: idea and language, `en is default`, also supported zh(chinese).
python main.py "Prepare a travel plan to Australia" "en"

Configuration

  • By default, ChatGPT is used as the LLM, and you need to configure the OPEN_AI_KEY in .env
OPEN_AI_KEY=sk-xxx

# If you don't deploy stable diffusion service, no image will be generated.
SD_PROXY_URL=127.0.0.1:7860

# If you don't deploy Text2Video service, no videos will be generated.
T2V_PROXY_URL=127.0.0.1:7861
  • More Details see file .env.template

Generated DEMOs

operategpt's People

Contributors

xuyuan23 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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