-
Notifications
You must be signed in to change notification settings - Fork 383
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
Endpoint Changes #1470
Endpoint Changes #1470
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Changes requested. Reviewed everything up to 5b4a663 in 56 seconds
More details
- Looked at
108
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. py/core/main/orchestration/hatchet/ingestion_workflow.py:181
- Draft comment:
Ensurechunk_enrichment_settings
is not None before accessingenable_chunk_enrichment
. - Reason this comment was not posted:
Comment did not seem useful.
2. py/core/main/services/ingestion_service.py:366
- Draft comment:
The checkif chunk_enrichment_settings.strategies == []:
can be simplified toif not chunk_enrichment_settings.strategies:
. - Reason this comment was not posted:
Confidence changes required:50%
The PR adds a check for empty enrichment strategies, which is a good addition. However, the check forchunk_enrichment_settings.strategies == []
is redundant since an empty list is falsy in Python.
Workflow ID: wflow_ctlRaasXxNCa3npW
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
…i-AI/R2R into contextual-enrichment-test
There was a problem hiding this 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! Incremental review on acf09ee in 38 seconds
More details
- Looked at
92
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
6
drafted comments based on config settings.
1. py/r2r.toml:61
- Draft comment:
The comment 'disabled by default' is misleading sinceenable_chunk_enrichment
is set totrue
. Consider updating the comment to reflect the current setting. - Reason this comment was not posted:
Confidence changes required:50%
The change from 'openai/gpt-4o' to 'azure/gpt-4o' in the model configuration is consistent across multiple sections, which is good for consistency. However, the comment 'disabled by default' is misleading since the setting is enabled.
2. py/r2r.toml:84
- Draft comment:
The change from 'openai/gpt-4o' to 'azure/gpt-4o' is consistent across multiple sections, which is good for consistency. Ensure that this change is intentional and aligns with the overall system requirements. - Reason this comment was not posted:
Confidence changes required:33%
The change from 'openai/gpt-4o' to 'azure/gpt-4o' in the model configuration is consistent across multiple sections, which is good for consistency. However, the comment 'disabled by default' is misleading since the setting is enabled.
3. py/r2r.toml:90
- Draft comment:
The change from 'openai/gpt-4o' to 'azure/gpt-4o' is consistent across multiple sections, which is good for consistency. Ensure that this change is intentional and aligns with the overall system requirements. - Reason this comment was not posted:
Confidence changes required:33%
The change from 'openai/gpt-4o' to 'azure/gpt-4o' in the model configuration is consistent across multiple sections, which is good for consistency. However, the comment 'disabled by default' is misleading since the setting is enabled.
4. py/r2r.toml:95
- Draft comment:
The change from 'openai/gpt-4o' to 'azure/gpt-4o' is consistent across multiple sections, which is good for consistency. Ensure that this change is intentional and aligns with the overall system requirements. - Reason this comment was not posted:
Confidence changes required:33%
The change from 'openai/gpt-4o' to 'azure/gpt-4o' in the model configuration is consistent across multiple sections, which is good for consistency. However, the comment 'disabled by default' is misleading since the setting is enabled.
5. py/r2r.toml:102
- Draft comment:
The change from 'openai/gpt-4o' to 'azure/gpt-4o' is consistent across multiple sections, which is good for consistency. Ensure that this change is intentional and aligns with the overall system requirements. - Reason this comment was not posted:
Confidence changes required:33%
The change from 'openai/gpt-4o' to 'azure/gpt-4o' in the model configuration is consistent across multiple sections, which is good for consistency. However, the comment 'disabled by default' is misleading since the setting is enabled.
6. py/core/providers/kg/postgres.py:517
- Draft comment:
The conditionif filter_query != "" and filter_ids:
is used to determine whether to includefilter_ids
in the query execution. Ensure thatfilter_ids
is always a list to avoid potential runtime errors. - Reason this comment was not posted:
Confidence changes required:50%
The change from 'openai/gpt-4o' to 'azure/gpt-4o' in the model configuration is consistent across multiple sections, which is good for consistency. However, the comment 'disabled by default' is misleading since the setting is enabled.
Workflow ID: wflow_wjhgUg8MOjQa5cyD
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
* add alembic migrations to pypi release * modify path
* minor kg-search bug * fix * Update pyproject.toml
…i-AI/R2R into contextual-enrichment-test
Important
Enhance chunk enrichment by allowing configuration overrides and handling empty strategies in
ingestion_workflow.py
andingestion_service.py
.ingestion_workflow.py
, override server chunk enrichment settings with ingestion config usingupdate_settings_from_dict
.ingestion_service.py
, handle empty enrichment strategies in_get_enriched_chunk_text()
and ensure UUID conversion forcontext_chunk_ids
.chunk_enrichment()
iningestion_service.py
to log settings and handle chunk enrichment with updated settings.chunk_enrichment()
to acceptchunk_enrichment_settings
as a parameter.update_settings_from_dict
iningestion_workflow.py
.r2r.toml
fromopenai/gpt-4o
toazure/gpt-4o
in multiple sections.This description was created by
for acf09ee. It will automatically update as commits are pushed.