This is a demo repository showcasing Gemini Live x LlamaIndex integration.
Watch the python and the typescript demo videos for a quick overview!
Clone this repository locally:
git clone https://github.com/run-llama/gemini-live-demo
cd gemini-live-demo/python
And install the needed dependencies:
uv sync
Now create a .env
file and add your GOOGLE_API_KEY
there:
touch .env
echo GOOGLE_API_KEY=*** > .env
Launch the application with
uv run src/gemini_live_demo/main.py
Make sure to export your GOOGLE_API_KEY
before running the demo.
export GOOGLE_API_KEY="my-google-api-key"
User Set-Up
npx @cle-does-things/live-chat
Developer Set-Up
Clone this repository locally:
git clone https://github.com/run-llama/gemini-live-demo
cd gemini-live-demo/ts
And install the needed dependencies:
npm install
Build the package:
npm run build
Run the package:
npm run start
Try running the executable with:
npx live-chat
If you run into problems like Permission Denied
, make sure you make live-chat
an executable - for example, on Linux/macOs:
chmod +x $HOME/.npm/_npx/*/node_modules/.bin/live-chat
We welcome contributions! Please read our Contributing Guide to get started.
This project is licensed under the MIT License.