Skip to content

EDIH-Adria-UNIPU/hall-reservation-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hall Reservation Chatbot

A Streamlit-based chatbot application developed for IDA (Istrian Development Agency) to automate space reservations in Coworking Pula. The chatbot uses OpenAI's language models to handle natural language conversations in Croatian and helps collect user requirements and contact information for different types of spaces including halls, meeting rooms, and coworking spaces.

Features

  • Natural language interaction in Croatian
  • Real-time availability checking
  • Reservation management for:
    • Conference halls
    • Meeting rooms
    • Coworking spaces
  • User-friendly Streamlit interface
  • Integration with OpenAI's models

Prerequisites

  • Python 3.12 or higher
  • OpenAI API key
  • uv package manager (pip install uv)

Installation

  1. Clone the repository:
git clone https://github.com/EDIH-Adria-UNIPU/hall-reservation-chatbot.git
  1. Create and activate a virtual environment using uv:
uv sync
  1. Set up your OpenAI API key in Streamlit's secrets.toml file:
OPENAI_API_KEY = "your-api-key-here"

Usage

  1. Run the Streamlit application:
streamlit run src/app.py
  1. Access the application through your web browser at http://localhost:8501

Project Structure

  • src/
    • app.py - Main Streamlit application
    • data_manager.py - Handles data operations and reservations
    • functions.py - Defines available chatbot functions
    • utils.py - Utility functions
    • prompts/ - Contains system messages and prompts
    • assets/ - Static assets like logos
  • pyproject.toml - Project metadata and dependencies
  • .streamlit/ - Streamlit configuration files

Development

This project is part of a Test-before-invest (TBI) initiative for IDA, developed as a prototype (TRL 3-4) to demonstrate the capabilities of AI-powered chatbots for space reservation management.

Technical Details

  • Built with Streamlit for the web interface
  • Uses OpenAI's language models for natural language processing
  • Implements function calling for availability checking and reservation management

Limitations

  • Prototype version (TRL 3-4)
  • Standalone system without integration to existing IDA systems
  • Croatian language support only

About

Chatbot for making reservations at Coworking Pula

Resources

Stars

Watchers

Forks

Languages