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

Feat/multiple brains backend #340

Merged
merged 5 commits into from
Jun 16, 2023
Merged

Feat/multiple brains backend #340

merged 5 commits into from
Jun 16, 2023

Conversation

gozineb
Copy link
Contributor

@gozineb gozineb commented Jun 15, 2023

Description

1/ Adding new tables for multiple brains:

  • brains
  • brains X users
  • brains X vectors

2/ Adding new controllers for endpoint /brain:

  • Get one brain
  • Get all brains per user
  • Create a brain
  • Update a brain (by adding a file or by changing the brain fields)

Checklist before requesting a review

Please delete options that are not relevant.

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented hard-to-understand areas
  • I have ideally added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged

Screenshots (if appropriate):

@vercel
Copy link

vercel bot commented Jun 15, 2023

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

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2023 5:52pm
quivrapp ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2023 5:52pm

status: str = "public"
model: str = "gpt-3.5-turbo-0613"
temperature: float = 0.0
max_tokens: int = 256
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd add chunk_size into it :)

@StanGirard
Copy link
Collaborator

image

It is not working for PDF when uploading

@gozineb
Copy link
Contributor Author

gozineb commented Jun 16, 2023

Fixed @StanGirard! Sorry about that :/ I tested while already on main 🙈🙈🙈🙈

Copy link
Collaborator

@StanGirard StanGirard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job

@StanGirard StanGirard merged commit e53bc68 into main Jun 16, 2023
3 checks passed
StanGirard pushed a commit that referenced this pull request Sep 12, 2023
* 🗃️ add new tables for multiple brains

* 🗑️ remove date input from fetch_user_id_from_credentials

* ✨ new /brain endpoints

* ♻️ refactor backend utils by splitting it into files

* 💡 comments for next actions to update /upload
@StanGirard StanGirard deleted the feat/multiple-brains-backend branch January 20, 2024 06:57
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.

None yet

2 participants