Skip to content

New Webapp migration #56

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

Merged
merged 57 commits into from
May 20, 2023
Merged

New Webapp migration #56

merged 57 commits into from
May 20, 2023

Conversation

StanGirard
Copy link
Collaborator

@StanGirard StanGirard commented May 18, 2023

I started working on migrating from Streamlit to FastAPI and NextJS.

Here is the start of the migration.

To run it:

  • expose the secrets
image
  • in the folder test run uvicorn api:app --reload for the fastapi
  • in the folder frontend run npm run dev or yarn dev for the frontend
    currently only /upload and /chat

For now I'm here

image image image

Next steps:

  • Migrate all Loaders to fastAPI
  • Add forget functionnality
  • Create web interface

If you want more info on the endpoints there is a /docs endpoint

image

@vercel
Copy link

vercel bot commented May 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
quiver ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2023 11:17pm

@StanGirard StanGirard self-assigned this May 20, 2023
@StanGirard StanGirard added this to the V milestone May 20, 2023
@StanGirard StanGirard marked this pull request as ready for review May 20, 2023 23:10
@StanGirard StanGirard merged commit f952d7a into main May 20, 2023
StanGirard added a commit that referenced this pull request Sep 12, 2023
* feat(v2): loaders added

* feature: Add scroll animations

* feature: upload ui

* feature: upload multiple files

* fix: Same file name and size remove

* feat(crawler): added

* feat(parsers): v2 added more

* feat(v2): audio now working

* feat(v2): all loaders

* feat(v2): explorer

* chore: add links

* feat(api): added status in return message

* refactor(website): remove old code

* feat(upload): return type for messages

* feature: redirect to upload if ENV=local

* fix(chat): fixed some issues

* feature: respect response type

* loading state

* feature: Loading stat

* feat(v2): added explore and chat pages

* feature: modal settings

* style: Chat UI

* feature: scroll to bottom when chatting

* feature: smooth scroll in chat

* feature(anim): Slide chat in

* feature: markdown chat

* feat(explorer): list

* feat(doc): added document item

* feat(explore): added modal

* Add clarification on Project API keys and web interface for migration scripts to Readme (#58)

* fix(demo): changed link

* add support to uploading zip file (#62)

* Catch UnicodeEncodeError exception (#64)

* feature: fixed chatbar

* fix(loaders): missing argument

* fix: layout

* fix: One whole chatbox

* fix: Scroll into view

* fix(build): vercel issues

* chore(streamlit): moved to own file

* refactor(api): moved to backend folder

* feat(docker): added docker compose

* Fix a bug where langchain memories were not being cleaned (#71)

* Update README.md (#70)

* chore(streamlit): moved to own file

* refactor(api): moved to backend folder

* docs(readme): updated for new version

* docs(readme): added old readme

* docs(readme): update copy dot env file

* docs(readme): cleanup

---------

Co-authored-by: iMADi-ARCH <[email protected]>
Co-authored-by: Matt LeBel <[email protected]>
Co-authored-by: Evan Carlson <[email protected]>
Co-authored-by: Mustafa Hasan Khan <[email protected]>
Co-authored-by: zhulixi <[email protected]>
Co-authored-by: Stanisław Tuszyński <[email protected]>
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.

7 participants