Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Front end knowledge base upload/delete functionality #70

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

MattFeinberg
Copy link
Collaborator

@MattFeinberg MattFeinberg commented Jan 14, 2025

This PR adds functionality for interacting with the knowledge base to the chat frontend. This will allow users to upload PDF documents from their computer to the knowledge base, view documents currently in the knowledge base, and delete documents from the knowledge base.

Files changed:

project/spec.yaml - change start command for the chat front end to reload when a file called "reload" is edited

code/frontend/pages/control/init.py - this is where the front end changes are

code/frontend/pages/control/style.css - one style addition for the new front end components

requirements.txt - pypdf added as it is needed for uploading a document

Files added:

code/frontend/_static/images/upload-button.png - Icon for the upload file button

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.

1 participant