Skip to content

JW9506/chatbot-angular-nodejs-palm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatbot Project Overview

This project features a chatbot built using Angular 16 and NodeJS, integrating the models/chat-bison-001 for natural language processing.

Getting Started

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 write API_KEY=<your key> (Supported by dotenv)
  • export API_KEY=<your key> in your terminal.

Todo

  • Multiple chat session
  • Tailwind Styling

Current Project Status (Work In Progress)

  • Waiting Image
  • Message Loaded Image

Software Requirements

  • NodeJS
  • Angular CLI

Setting Up the Server

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

Setting Up the Frontend

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