uezo / aiavatarkit

🥰 Building AI-based conversational avatars lightning fast ⚡️💬
Apache License 2.0
257 stars 21 forks source link

Simplify AIAvatar initialization and enhance customization #35

Closed uezo closed 6 months ago

uezo commented 6 months ago

Simplified the initialization of AIAvatar by applying common use cases as defaults, streamlining the setup process. All encapsulated components are now configurable via arguments, enhancing the flexibility and customization options available to users.

Below is the minimal necessary code, demonstrating how to quickly set up the basic functionality of AIAvatar:

from aiavatar import AIAvatar

app = AIAvatar(
    openai_api_key=OPENAI_API_KEY,
    google_api_key=GOOGLE_API_KEY
)
app.start_listening_wakeword()

This code snippet is designed to simplify the initialization and start-up process for AIAvatar. By simply configuring the API keys, users can immediately begin utilizing its capabilities.

For details on customization, please refer to the README.