feat(UI): Implementing File Upload and VectorDB Creation/Configuration in Playground #3266
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR adds:
I used Claude to help me write a meaningful share of the code but I made lots of revisions. I also used AI for most of the text copy. I vetted the code but I am not a frontend expert so some areas I am still learning (e.g., uploading larger PDFs required me learning a bit more about this space, I think the solution is the right one).
The important part is I think we're at a good starting point for an MVP based on the existing APIs and not having a supported UI is probably preventing the community from further growth, so I feel good with landing this.
Screen Shots with Demo
Clean starting point when no agent sessions configured
Creating a Vector DB (section in Agent Creation Config)
Creating a Vector DB (actual modal)
Uploading document notification
Successfully uploaded document notification
Functional RAG Example
Closes #2307
Test Plan
Unit tests added and manually tested edge cases.