Skip to content

Feat/chatbot endpoint#6

Open
JoshCodedit wants to merge 25 commits intomainfrom
feat/chatbot-endpoint
Open

Feat/chatbot endpoint#6
JoshCodedit wants to merge 25 commits intomainfrom
feat/chatbot-endpoint

Conversation

@JoshCodedit
Copy link
Copy Markdown

Pull Request: Backend Enhancements for Chatbot Functionality

Summary

This pull request sets up the backend endpoint required for the OpenAI-powered chatbot. It includes logic to handle chat interactions and introduces a pre-prompt mechanism to guide the bot's behavior. These updates lay the groundwork for seamless communication between the chatbot and backend services.


Changes

1. New Endpoint Setup

  • Created a dedicated backend endpoint to handle chat messages sent from the frontend.
  • Integrated logic to process chat history and forward it to the OpenAI API.

2. Pre-Prompt Instructions

  • Added a configurable pre-prompt that provides specific instructions to the chatbot, ensuring consistent and guided responses.
  • The pre-prompt allows customization of the chatbot's tone, persona, and purpose.

Danielle73 and others added 25 commits November 25, 2024 15:24
installed supabase and initalized it
Update database schema to include PhotoLink column in ClothingItems table
 Add file upload and photo link generation functionality in ClothingItemService
Update DbInitializer to handle PhotoLink field in seed data
This change enables storing photo URLs for clothing items, integrating with Supabase storage
documentation plugged in still going to add more
get,post,put and delete routes that can be altered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants