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

Dev minor #1480

Closed
wants to merge 13 commits into from
Closed

Dev minor #1480

wants to merge 13 commits into from

Conversation

emrgnt-cmplxty
Copy link
Contributor

@emrgnt-cmplxty emrgnt-cmplxty commented Oct 24, 2024

Important

This pull request adds chunk management functionalities, including ingestion, updating, and deletion, along with corresponding tests and configuration updates.

  • Behavior:
    • Added update_chunks method in IngestionMixins to update chunk content and metadata.
    • Added tests for chunk ingestion, updating, and deletion in runner_sdk.py.
  • Testing:
    • Added test_ingest_chunks, test_update_chunks, and test_delete_chunks in runner_sdk.py.
    • Updated test_file_provider.py to use postgres_db_provider for file operations.
    • Added fixtures and tests for KG logic in test_kg_logic.py.
  • Configuration:
    • Updated conftest.py to include new fixtures for database and provider configurations.
    • Added openai_provider fixture in embedding/conftest.py.

This description was created by Ellipsis for 9633f00. It will automatically update as commits are pushed.

emrgnt-cmplxty and others added 3 commits October 24, 2024 12:01
* up

* up

* add back database

* merge

* merge
* removing prompt provider

* migrate prompt provider
Copy link

vercel bot commented Oct 24, 2024

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

Name Status Preview Comments Updated (UTC)
yc_demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 25, 2024 0:50am
yc-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 25, 2024 0:50am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
recommendation_platform ⬜️ Ignored (Inspect) Oct 25, 2024 0:50am

emrgnt-cmplxty and others added 2 commits October 24, 2024 17:31
* Update pyproject.toml (#1471)

* add alembic migrations to pypi release (#1472)

* add alembic migrations to pypi release

* modify path

* run on main (#1474)

* minor kg-search bug (#1476)

* minor kg-search bug

* fix

* Update pyproject.toml

* Move to psycopg binary (#1477)

---------

Co-authored-by: Shreyas Pimpalgaonkar <[email protected]>
Co-authored-by: Nolan Tremelling <[email protected]>
* check in

* Finish ingest chunks, delete, and testing

* Docs and JS tests
* Update pyproject.toml (#1471)

* add alembic migrations to pypi release (#1472)

* add alembic migrations to pypi release

* modify path

* run on main (#1474)

* minor kg-search bug (#1476)

* minor kg-search bug

* fix

* Update pyproject.toml

* Move to psycopg binary (#1477)

* Ensure that we retrieve KG Status for documents in collection

* github sucks

---------

Co-authored-by: emrgnt-cmplxty <[email protected]>
Co-authored-by: Shreyas Pimpalgaonkar <[email protected]>
* Update pyproject.toml (#1471)

* add alembic migrations to pypi release (#1472)

* add alembic migrations to pypi release

* modify path

* run on main (#1474)

* minor kg-search bug (#1476)

* minor kg-search bug

* fix

* Update pyproject.toml

* Move to psycopg binary (#1477)

---------

Co-authored-by: Shreyas Pimpalgaonkar <[email protected]>
Co-authored-by: Nolan Tremelling <[email protected]>
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to 9633f00 in 2 minutes and 14 seconds

More details
  • Looked at 9313 lines of code in 120 files
  • Skipped 1 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. py/core/providers/database/file.py:191
  • Draft comment:
    Ensure 'lobject' is defined before attempting to close it to avoid potential errors if 'lo_open' fails.
if 'lobject' in locals():
    await conn.execute("SELECT lo_close($1)", lobject)
  • Reason this comment was not posted:
    Comment did not seem useful.

Workflow ID: wflow_fOCu6CvgwpsZ3EKK


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

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.

2 participants