- Clone the repository to your local machine.
- Install dependencies by running
npm install
in your terminal. - Obtain a Google API key. https://aistudio.google.com/app/apikey
- Launch the development server with
ng serve
. - Visit http://localhost:4200 in your web browser to explore the app.
docker pull ghcr.io/clivebaker32/ai-chatbot:latest
docker build
docker run -p 4200:4200 ghcr.io/clivebaker32/ai-chatbot:latest
- Go to localhost:4200 in your web browser to explore the app.
- I can build A ChatService class to handle the chat history you not deal with inconsistencies in the different data types.
Specifically leaning towards the purposeful error I get with the response.text in the api.service.ts.
Also the need the make a new member for the app.component.ts class and deal with the unending changing data types of the chatHistory variable.
This abstraction is not needed, but it does make life a lot easier if I was to improve this project.