Clelia (Astra) Bertelli 0691cd7a3b Merge pull request #4 from run-llama/clelia/ts-fixes
feat: typescript fixing; docs: typescript demo url
2025-07-29 18:13:52 +02:00
2025-07-29 14:46:31 +02:00
2025-07-29 14:46:31 +02:00
2025-07-29 14:46:31 +02:00
2025-07-29 14:46:31 +02:00
2025-07-28 15:38:34 +02:00

Gemini-Live Demo

This is a demo repository showcasing Gemini Live x LlamaIndex integration.

Watch the python and the typescript demo videos for a quick overview!

Python

Install and Launch

Important

This is a uv project, so make sure to have uv installed

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

TypeScript

Install and Launch

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

Contributing

We welcome contributions! Please read our Contributing Guide to get started.

License

This project is licensed under the MIT License.

S
Description
Demo code for Gemini Live Integration
Readme MIT 144 KiB
Languages
Python 51.8%
TypeScript 25.8%
JavaScript 22.4%