feat: typescript fixing; docs: typescript demo url
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
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.