Skip to content

A booking agent for a barber shop created with Semantic Kernel and OpenAI GPT.

License

Notifications You must be signed in to change notification settings

MickMelon/BarberBookingAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Barber Booking Agent

Introduction

The Barber Booking Agent is an R&D project to investigate and explore Semantic Kernel and Large Language Models (LLMs), in this case OpenAI GPT models.

It provides a chat-based functionality to allow a user to book an appointment with a barber.

image

Getting Started

Clone the repository:

git clone https://github.com/mickmelon/barberbookingagent

Configuring the Web API

Set your OpenAI credentials as dotnet user secrets:

cd backend/BarberBookingAgent.WebApi
dotnet user-secrets set "OpenAiOptions:ApiKey" "{your openai api key}"
dotnet user-secrets set "OpenAiOptions:OrganizationId" "{your openai organization id}"

You can configure the OpenAI model by going to appsettings.Development.json in the BarberBookingAgent.WebApi project.

Start the API via your IDE or command:

dotnet run

Setting up the React.js Frontend

Navigate to the frontend application directory:

cd frontend

Install dependencies:

npm install

Start the application:

npm start

After completing these steps, the React.js frontend application will be running and connected to your Web API, ready to handle chat interactions and booking appointments.

About

A booking agent for a barber shop created with Semantic Kernel and OpenAI GPT.

Topics

Resources

License

Stars

Watchers

Forks