Skip to content

Latest commit

 

History

History
100 lines (63 loc) · 3.15 KB

README_EN.md

File metadata and controls

100 lines (63 loc) · 3.15 KB

中文


Fay

Fay Digital Human AI Agent Version

An "agent" is a representative that can make decisions and execute plans for you, relying on the powerful ReAct capability of the most advanced large language models.

Please Understand First

If you need an online and offline salesperson, please go to Complete Retail Version

If you need a digital human assistant for human-computer interaction (and yes, you can command it to switch devices on and off), please go to Complete Assistant Version

"Excellent products deserve to be redone with digital humans." 1.Assistant mode based on schedule maintenance: Managing and maintaining your schedule, not just a simple alarm clock. Fay

2.Powerful planning and execution (ReAct) capability: Plan -> Execute <-> Reflect -> Summarize. Fay

3.Automatic switching between LLM Chain and React Agent: Retains planning and execution capabilities while considering chatting abilities (still needs optimization). Fay

4.Dual memory mechanism: Stanford AI Town's memory stream (time, importance, relevance) for long-term memory, and adjacent conversation memory for coherent conversations. Fay

5.Easily expandable agent tools. Fay

6.Accompanying 24-hour background running Android connector. Fay

Installation Instructions

System Requirements

  • Python 3.9, 3.10
  • Windows, macOS, Linux

Installing Dependencies

pip install -r requirements.txt

Configuring Application Keys

  • Enter your GPT-4 key in ./system.conf

Launching the Controller

Start the Fay controller

python main.py

Launching the Digital Human (Optional)

Repository URL:https://github.com/xszyou/fay-ue5

Launch of Android Connector (Optional)

Repository URL: https://github.com/xszyou/fay-android

Changelog

2024.01.01:

OpenAI token calculation ✓ Optimized ReAct Agent and LLM Chain auto-switching logic ✓ *Added dual memory mechanism: long-term memory stream and short-term chat memory ✓ Fixed record.py ASR bug ✓ Improved stability of remote audio (Android connector) ✓ Fixed execution time calculation bug ✓ Optimized voice output logic ✓

2023.12.25:

Implemented the automatic switching logic between agent ReAct and LLM chain ✓ Distinguished task messages in the chat window ✓ Fixed the bug in deleting schedules ✓ Optimized remote audio logic ✓ Introduced loading effects for pending processes ✓ Optimized prompts to resolve recursive calling issues in schedule tasks ✓ Fixed the bug in clearing one-time schedules ✓

Contact

Business QQ: 467665317

Join the discussion group by following the public account Fay Digital Human (please star this repository first)