This project features a chatbot built using Angular 16 and NodeJS, integrating the models/chat-bison-001
for natural language processing.
To use this chatbot, obtain your own API key from the Generative Language API. The server requires this API key, set in an environment variable named API_KEY
.
You may do so by either:
- Creating a
.env
file in the root of the project, and writeAPI_KEY=<your key>
(Supported by dotenv) export API_KEY=<your key>
in your terminal.
- Multiple chat session
- Tailwind Styling
- NodeJS
- Angular CLI
Follow these steps to install server dependencies and run the server:
# Navigate to the server directory
cd server
# Install dependencies
yarn
# Return to the project root
cd ..
# Run the server
node server
Follow these steps to install server dependencies and run the server:
# Navigate to the frontend directory
cd frontend
# Install dependencies
yarn
# Start the frontend development server
yarn start