-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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(microservices): split into microservice quivr to better handle long services #972
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Risk Level 2 - /home/runner/work/quivr/quivr/backend/core/chat_service.py The code is generally well-written and follows good practices. However, there are a few areas that could be improved for better readability and maintainability:
Risk Level 2 - /home/runner/work/quivr/quivr/backend/core/routes/chat_routes.py
if user.user_openai_api_key is None:
date = time.strftime(\"%Y%m%d\")
max_requests_number = int(os.getenv(\"MAX_REQUESTS_NUMBER\", 1))
else:
user.increment_user_request_count(date)
if int(user.requests_count) >= int(max_requests_number):
raise HTTPException(
status_code=429,
detail=\"You have reached the maximum number of requests for today.\",
) Risk Level 2 - /home/runner/work/quivr/quivr/backend/core/llm/qa_base.py The code is generally well-written and follows good practices. However, there are a few areas that could be improved for better readability and maintainability:
🔧🔍📚 Powered by Code Review GPT |
5bd129f
to
579f0b8
Compare
#972) * feat(verbose): removed * feat(microservices): split quivr into micro services * test(main): fixed
Is it ready for aws? Can you share how to setup the services on aws? |
Split Quivr into 4 microservices for now:
Only in local while i get AWS ready for the change