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

Issue40-integrate-pagination #43

Merged
merged 7 commits into from
Feb 13, 2024
Merged

Conversation

k-allagbe
Copy link
Member

@k-allagbe k-allagbe commented Feb 12, 2024

Closes #40: integrate pagination

  • updated azure route and search method call
  • refactored flask config to be a dict instead of an object
  • updated envs in .env.template
  • updated tests
  • updated docs
  • point azure-db dependency to the main branch

Having a dataclass manage the flask config by using default values gets clunky, especially for testing. Dicts are easier to work with. I used TypedDict only for type hinting.
app/config.py Outdated Show resolved Hide resolved
@k-allagbe k-allagbe force-pushed the issue40-integrate-pagination branch from a87fe4f to ca67a7e Compare February 13, 2024 17:09
@ibrahim-kabir ibrahim-kabir self-requested a review February 13, 2024 18:16
Copy link
Contributor

@ibrahim-kabir ibrahim-kabir left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@rngadam rngadam left a comment

Choose a reason for hiding this comment

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

I'm seeing a lot of leakage between Azure configuration settings into finesse-backend to the point it seems hard to separate both. Guess we'll see into refactoring this when we try to integrate LlamaIndex

@k-allagbe k-allagbe force-pushed the issue40-integrate-pagination branch from 50afd35 to 73df7a4 Compare February 13, 2024 20:54
@k-allagbe k-allagbe merged commit 730c319 into main Feb 13, 2024
7 checks passed
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.

Integrate Pagination from azure-db into finesse-backend
3 participants