Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alice Synthesis Thirty

This repository contains a Python script for a simple chatbot powered by Google's Gemini large language model, integrated with Discord.

Usage

  1. Clone or download this repository;
  2. Install the required dependencies: pip install google-generativeai, pip install discord.py;
  3. Rename config.template.py to config.py
  4. In config.py, paste in "GOOGLE_API_KEY" your Gemini API key;
  5. In config.py, paste in "TOKEN" your Discord bot token;
  6. Run the script main.py to start the chatbot;
  7. If you want to give custom instructions to Gemini, modify the character variable in character.py.

Example Interaction

Example

Note

This is a basic implementation, and further customization can be done to enhance the chatbot's capabilities and user experience.

About

A Discord chatbot integrated with Google's Gemini API

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages