uezo / aiavatarkit

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

Make it easier to change AI model #21

Closed uezo closed 9 months ago

uezo commented 9 months ago

Add model parameter to AIAvatar.

# Create AIAvatar
app = AIAvatar(
    google_api_key=GOOGLE_API_KEY,
    openai_api_key=OPENAI_API_KEY,
    voicevox_url=VV_URL,
    voicevox_speaker_id=VV_SPEAKER,
    volume_threshold=2000,
    model="gpt-4-0125-preview",
    system_message_content=system_message_content,
    face_controller=VRChatFaceController()
)