-
-
Notifications
You must be signed in to change notification settings - Fork 3.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/backend core #656
Feat/backend core #656
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
/home/runner/work/quivr/quivr/backend/core/vectorstore/supabase.py - LOGAF Level 3 The code is generally good, but there are a few areas for potential improvement.
/home/runner/work/quivr/quivr/backend/private/logger.py - LOGAF Level 4 The code is of high quality and only requires minor tweaks. /home/runner/work/quivr/quivr/backend/private/main.py - LOGAF Level 3 The code is generally good, but there are a few areas for potential improvement.
/home/runner/work/quivr/quivr/backend/private/models/messages.py - LOGAF Level 4 The code is of high quality and only requires minor tweaks. /home/runner/work/quivr/quivr/backend/private/routes/completions_routes.py - LOGAF Level 3 The code is generally good, but there are a few areas for potential improvement.
/home/runner/work/quivr/quivr/backend/private/routes/embeddings_routes.py - LOGAF Level 3 The code is generally good, but there are a few areas for potential improvement.
/home/runner/work/quivr/quivr/install_helper.sh - LOGAF Level 2 The code functions, but has significant issues needing attention.
/home/runner/work/quivr/quivr/backend/core/tests/test_brains.py: Level 4 This is a well-written set of tests for the 'brains' functionality. The code is clear and easy to understand, with good use of comments to explain what each test is doing. The assertions are appropriate and cover the expected functionality. /home/runner/work/quivr/quivr/backend/core/tests/test_chats.py: Level 3 The tests are generally well-written, but there are a few areas for improvement. For example, the /home/runner/work/quivr/quivr/backend/core/tests/test_explore.py: Level 4 This test is well-written and clear. It tests the expected functionality and includes appropriate assertions. /home/runner/work/quivr/quivr/backend/core/tests/test_upload.py: Level 3 The tests are generally well-written, but there are a few areas for improvement. For example, the /home/runner/work/quivr/quivr/backend/core/tests/test_user.py: Level 4 This test is well-written and clear. It tests the expected functionality and includes appropriate assertions. /home/runner/work/quivr/quivr/backend/core/utils/chats.py: Level 4 This code is clear and easy to understand. It performs its intended functionality well. /home/runner/work/quivr/quivr/backend/core/utils/constants.py: Level 5 /home/runner/work/quivr/quivr/backend/core/utils/file.py: Level 4 This code is well-written and clear. It performs its intended functionality well. The /home/runner/work/quivr/quivr/backend/core/utils/processors.py: Level 3 The code is generally well-written, but there are a few areas for improvement. For example, the /home/runner/work/quivr/quivr/backend/core/utils/users.py: Level 4 This code is clear and easy to understand. It performs its intended functionality well. /home/runner/work/quivr/quivr/backend/core/utils/vectors.py: Level 3 The code is generally well-written, but there are a few areas for improvement. For example, the /home/runner/work/quivr/quivr/backend/core/vectorstore/init.py: Level 5/home/runner/work/quivr/quivr/backend/core/repository/chat/create_chat.py: Level 3 /home/runner/work/quivr/quivr/backend/core/repository/chat/format_chat_history.py: Level 5 /home/runner/work/quivr/quivr/backend/core/repository/chat/get_chat_by_id.py: Level 4 /home/runner/work/quivr/quivr/backend/core/repository/chat/get_chat_history.py: Level 3 history: List[ChatHistory] = (
commons["supabase"]
.from_("chat_history")
.select("*")
.filter("chat_id", "eq", chat_id)
.order("message_time", desc=False) # Add the ORDER BY clause
.execute()
).data or [] /home/runner/work/quivr/quivr/backend/core/repository/chat/get_user_chats.py: Level 4 /home/runner/work/quivr/quivr/backend/core/repository/chat/update_chat.py: Level 3 /home/runner/work/quivr/quivr/backend/core/repository/chat/update_chat_history.py: Level 3 if not response:
raise HTTPException(
status_code=500, detail="An exception occurred while updating chat history."
) /home/runner/work/quivr/quivr/backend/core/repository/chat/update_message_by_id.py: Level 3 /home/runner/work/quivr/quivr/backend/core/routes/init.py: Level 5 /home/runner/work/quivr/quivr/backend/core/routes/api_key_routes.py: Level 2 /home/runner/work/quivr/quivr/backend/core/routes/authorizations/init.py: Level 5 /home/runner/work/quivr/quivr/backend/core/routes/authorizations/brain_authorization.py: Level 3 /home/runner/work/quivr/quivr/backend/core/routes/brain_routes.py: Level 2
|
6a512b6
to
ce600d2
Compare
Tests are now failing ;) don't forget to move the tests folder too ;) |
Description
Please merge #635 before this one :)
Feat:
Closes #638
Checklist before requesting a review
Please delete options that are not relevant.
Screenshots (if appropriate):