This project has been implemented entirely using the TypeScript
language.
-
https://luixaviles.com/2024/03/build-gemini-chatbot-with-angular-and-nestjs/. Start a project from scratch and generate an Nx-based workspace using Angular and NestJS. The web application support a multi-turn conversation(chatbot) and text generation using Gemini models.
-
https://luixaviles.com/2024/03/using-gemini-pro-vision-image-processing-using-angular-nestjs/. Add the Image processing ability to the existing application. It uses the Gemini Pro Vision Model.
This project currently supports:
- Multi-turn conversations (Chatbot application)
- Text Generation
- Image Processing
- Star GitHub repository ⭐
- Create pull requests, submit bugs or suggest new features
- Follow updates on Twitter or Github
First, ensure you have the following installed:
After that, use Git bash
to run all commands if you are on Windows platform.
In order to start the project use:
$ git clone https://github.com/luixaviles/gemini-angular-nestjs.git
$ cd gemini-angular-nestjs
Go to the Google AI Studio website and generate an API Key.
Next, create an .env
file under the /server
directory with the API key value you generated(You'll find a .env.example
file as an example there):
API_KEY=<Your API Key goes here>
This project is based on Nx tooling. If you don't have Nx installed, you can do so by using:
npm add --global nx@latest
Open other command line window and run following commands:
npm install
nx serve client && nx serve server
Then you will need to open your favorite web browser with the following URL: http://localhost:4200
The Open Source community is awesome! If you're working in a fork with other tech stack, please add the reference of your project here.
MIT