-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: Enable adding files #1864
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may want to rename this concept to a file, and associate it with an entire PDF (or file more generally) that gets uploaded.
cc @4shub for correctness - I noticed it didn't mention dropping the Documents table or adding a new FileMetadata table - is this expected? |
This is correct, alembic only does any change on database deletions or modifications. You did not remove any database you just removed a scheme |
Description
Enable adding files (refactored from
documents
). Specifically, this PR:File
objectsAlso, adds some items to the
.gitignore
.I ran alembic via the instructions:
Testing
Added a test that loads the
memgpt
paper, retrieves the documents via the new API route, and confirms that: