-
-
Notifications
You must be signed in to change notification settings - Fork 869
Fix/docs #1561
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
Conversation
Deploying with
|
Status | Name | Latest Commit | Preview URL | Updated (UTC) |
---|---|---|---|---|
✅ Deployment successful! View logs |
instructor | f74bf55 | Visit preview | May 26 2025, 01:40 PM |
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.
Important
Looks good to me! 👍
Reviewed everything up to 3c39a05 in 1 minute and 40 seconds. Click for details.
- Reviewed
114
lines of code in5
files - Skipped
0
files when reviewing. - Skipped posting
14
draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. docs/blog/index.md:40
- Draft comment:
Updated 'Pandas DataFrame Examples' link to point to './posts/tidy-data-from-messy-tables.md#defining-a-custom-type'. Confirm that the target page exists. - Reason this comment was not posted:
Confidence changes required:10%
<= threshold85%
None
2. docs/blog/index.md:41
- Draft comment:
Updated 'Streaming Response Examples' link to '../concepts/partial.md'. Verify that this new reference covers the intended content. - Reason this comment was not posted:
Confidence changes required:10%
<= threshold85%
None
3. docs/concepts/semantic_validation.md:386
- Draft comment:
Changed anchor for 'llm_validator API Reference' from '#llm_validator' to '#api-reference'. Ensure the referenced anchor in api.md is updated accordingly. - Reason this comment was not posted:
Confidence changes required:10%
<= threshold85%
None
4. docs/examples/classification.md:8
- Draft comment:
Simplified complete examples links: both [single classification] and [multi-label classification] now point to './bulk_classification.md'. Verify this change directs users correctly and that distinctions (if any) are maintained on the target page. - Reason this comment was not posted:
Confidence changes required:20%
<= threshold85%
None
5. docs/learning/validation/retry_mechanisms.md:56
- Draft comment:
Updated max_retries details link from absolute '/concepts/retrying.md' to relative '../../concepts/retrying.md'. Confirm that the new path resolves as expected. - Reason this comment was not posted:
Confidence changes required:10%
<= threshold85%
None
6. docs/learning/validation/retry_mechanisms.md:87
- Draft comment:
Updated fallback strategies link from 'fallback_strategies.md' to '../../concepts/error_handling.md'. Ensure that the new document covers the expected fallback behavior. - Reason this comment was not posted:
Confidence changes required:10%
<= threshold85%
None
7. docs/learning/validation/retry_mechanisms.md:165
- Draft comment:
Revised the Related Resources links to use updated relative paths (e.g., Custom Validators now points to '../../concepts/reask_validation.md'). Verify that all updated links resolve correctly. - Reason this comment was not posted:
Confidence changes required:10%
<= threshold85%
None
8. mkdocs.yml:146
- Draft comment:
Added 'Installation' under the Learning navigation. Confirm that 'learning/getting_started/installation.md' exists and the path is correct. - Reason this comment was not posted:
Confidence changes required:10%
<= threshold85%
None
9. mkdocs.yml:167
- Draft comment:
Added 'OpenAI Responses' in the Integrations section. Ensure 'integrations/openai-responses.md' exists. - Reason this comment was not posted:
Confidence changes required:10%
<= threshold85%
None
10. mkdocs.yml:226
- Draft comment:
Added 'Tracing with Langfuse' in the Cookbook navigation. Verify that 'examples/tracing_with_langfuse.md' is available and correctly linked. - Reason this comment was not posted:
Confidence changes required:10%
<= threshold85%
None
11. mkdocs.yml:159
- Draft comment:
Removed the 'Fallback Strategies' entry under Learning. Ensure that fallback strategy information is accessible through the updated documentation (likely via error_handling.md). - Reason this comment was not posted:
Confidence changes required:10%
<= threshold85%
None
12. docs/examples/classification.md:8
- Draft comment:
There appear to be hyphenation issues in this line. The phrases "tasks-specifically," and "classifications-using" may be typographical errors. Consider revising them to "tasks, specifically," and "classifications using" (or using an em dash if that was intended) for improved clarity. - Reason this comment was not posted:
Comment was on unchanged code.
13. docs/learning/validation/retry_mechanisms.md:170
- Draft comment:
Potential typographical error: The link for "Custom Validators" is now pointing to../../concepts/reask_validation.md
. Please confirm ifreask_validation.md
is correct or if it should remaincustom_validators.md
. - Reason this comment was not posted:
Comment looked like it was already resolved.
14. docs/learning/validation/retry_mechanisms.md:171
- Draft comment:
The link for "Fallback Strategies" has been updated to../../concepts/error_handling.md
. Please verify that this is the intended file, as the previous reference wasfallback_strategies.md
. - Reason this comment was not posted:
Comment did not seem useful. Confidence is useful =0%
<= threshold85%
The comment is asking the author to verify if the change in the link is intentional. This falls under asking the author to confirm their intention, which is against the rules. Therefore, this comment should not be approved.
Workflow ID: wflow_va3MMX3boUbT6HNd
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
We get this beautiful screen now on mkdocs serve
|
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.
Important
Looks good to me! 👍
Reviewed ea169d9 in 1 minute and 36 seconds. Click for details.
- Reviewed
194
lines of code in9
files - Skipped
0
files when reviewing. - Skipped posting
10
draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. docs/blog/index.md:9
- Draft comment:
Updated the link for 'Unified Provider Interface in Instructor' to point to 'announcing-unified-provider-interface.md'. Please confirm that the new file exists and that the link is consistent throughout the docs. - Reason this comment was not posted:
Comment did not seem useful. Confidence is useful =0%
<= threshold85%
The comment is asking the PR author to confirm the existence of a file and consistency of links, which violates the rule against asking for confirmation or verification. It does not provide a specific code suggestion or point out a specific issue that needs addressing.
2. docs/blog/posts/announcing-instructor-responses-support.md:153
- Draft comment:
Relative link for the OpenAI Responses API Guide is updated to use '../../integrations/openai-responses.md'. This looks correct; please ensure the path resolves as expected. - Reason this comment was not posted:
Comment did not seem useful. Confidence is useful =0%
<= threshold85%
This comment is asking to ensure that a path resolves correctly, which is similar to asking the author to double-check something. It doesn't provide a specific suggestion or point out a clear issue. It also doesn't relate to any of the additional rules provided.
3. docs/blog/posts/announcing-unified-provider-interface.md:196
- Draft comment:
Updated relative paths for 'Unified Prompt Caching API' and 'Unified Multimodal Object Handling'. Verify that these new links resolve correctly to the intended resources. - Reason this comment was not posted:
Comment did not seem useful. Confidence is useful =0%
<= threshold85%
The comment is asking the PR author to verify that the new links resolve correctly, which is against the rules of asking the author to double-check things. It doesn't provide a specific suggestion or point out a specific issue with the code.
4. docs/examples/index.md:69
- Draft comment:
The 'Knowledge Graph Building' link was updated to '../examples/building_knowledge_graphs.md'. Ensure that the file was renamed accordingly and all references have been updated. - Reason this comment was not posted:
Comment looked like it was already resolved.
5. docs/examples/tracing_with_langfuse.md:13
- Draft comment:
The Langfuse signup URL now includes the 'https://' prefix, which improves link reliability. Consider ensuring consistent note styling throughout the docs. - Reason this comment was not posted:
Comment did not seem useful. Confidence is useful =0%
<= threshold85%
This comment is purely informative and does not provide a specific actionable suggestion or point out a specific issue in the code. It also does not relate to any of the additional rules provided.
6. docs/learning/patterns/field_validation.md:56
- Draft comment:
Several relative links (e.g., to Fields, Custom Validators, Enums, Retry Mechanisms) have been updated. These look consistent, but please verify that all new paths correctly resolve within the documentation structure. - Reason this comment was not posted:
Comment did not seem useful. Confidence is useful =0%
<= threshold85%
This comment is asking the PR author to verify the correctness of relative links in the documentation. It doesn't provide a specific suggestion or point out a specific issue, which violates the rule against asking the author to double-check things. Therefore, this comment should be removed.
7. instructor/dsl/validators.py:68
- Draft comment:
The docstring now refers to the parameter as 'client' instead of 'openai_client'. Ensure that the updated parameter name is propagated through the code and documentation consistently. - Reason this comment was not posted:
Comment looked like it was already resolved.
8. instructor/function_calls.py:184
- Draft comment:
Removed the 'throw_error' and 'context' parameters from the function's docstring. Confirm that any dependent code or documentation has been updated to reflect their removal. - Reason this comment was not posted:
Comment did not seem useful. Confidence is useful =0%
<= threshold85%
The comment is asking the PR author to confirm that dependent code or documentation has been updated, which violates the rule against asking for confirmation or ensuring behavior is intended. It does not provide a specific suggestion or point out a specific issue with the code.
9. mkdocs.yml:162
- Draft comment:
A new 'Tutorials' navigation entry was added and several integration links (e.g., Knowledge Graph Building) have been updated. Please verify that all updated file paths exist and that redirects are consistent. - Reason this comment was not posted:
Comment did not seem useful. Confidence is useful =0%
<= threshold85%
The comment is asking the PR author to verify file paths and redirects, which falls under asking the author to double-check things. This violates the rule against asking the author to confirm or ensure things. Therefore, this comment should be removed.
10. mkdocs.yml:229
- Draft comment:
Typographical note: The file path has been changed from 'building_knowledge_graph.md' to 'building_knowledge_graphs.md'. Please verify that the addition of the 's' in 'graphs' is intentional and matches the actual file name. - Reason this comment was not posted:
Comment did not seem useful. Confidence is useful =80%
<= threshold85%
The comment is asking the author to verify the change in the file name, which is not allowed according to the rules. However, it is pointing out a specific change that could potentially be an error, which is useful. The comment does not violate any of the additional rules and is specific to a change in the file name, which could affect links or references to the file.
Workflow ID: wflow_ToaYXZgTB1VpnR4e
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
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.
Important
Looks good to me! 👍
Reviewed 4205ad7 in 1 minute and 17 seconds. Click for details.
- Reviewed
78
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
3
draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. docs/learning/streaming/lists.md:29
- Draft comment:
The basic list streaming example now uses 'response_model=Iterable[Book]' but has removed the 'stream=True' parameter, unlike the tasks example. Ensure both examples consistently include the streaming flag if streaming behavior is intended. - Reason this comment was not posted:
Confidence changes required:80%
<= threshold85%
None
2. docs/learning/streaming/lists.md:68
- Draft comment:
Message formatting differs between examples. The tasks example uses a multi-line dict while the basic example uses a single-line dict. Consider standardizing the format for clarity. - Reason this comment was not posted:
Confidence changes required:50%
<= threshold85%
None
3. docs/learning/streaming/lists.md:29
- Draft comment:
The inline comment noting the use of List was removed. Consider adding an updated explanation on why Iterable is now preferred for streaming lists to provide context to users. - Reason this comment was not posted:
Confidence changes required:60%
<= threshold85%
None
Workflow ID: wflow_dEf7KpTcCG9scjgb
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
Important
This pull request updates documentation links, corrects paths, and makes minor code adjustments to improve documentation accuracy and code clarity.
docs/blog/index.md
for "Unified Provider Interface in Instructor".docs/blog/posts/announcing-instructor-responses-support.md
anddocs/blog/posts/announcing-unified-provider-interface.md
to point to the correctopenai-responses.md
andanthropic.md
.docs/concepts/semantic_validation.md
,docs/examples/classification.md
,docs/examples/index.md
,docs/examples/tracing_with_langfuse.md
,docs/learning/patterns/field_validation.md
,docs/learning/patterns/list_extraction.md
,docs/learning/patterns/nested_structure.md
,docs/learning/patterns/optional_fields.md
,docs/learning/patterns/prompt_templates.md
,docs/learning/streaming/lists.md
,docs/learning/validation/custom_validators.md
,docs/learning/validation/field_level_validation.md
, anddocs/learning/validation/retry_mechanisms.md
.openai_client
toclient
ininstructor/dsl/validators.py
.throw_error
andcontext
fromfrom_response()
ininstructor/function_calls.py
.Installation
tomkdocs.yml
underLearning
section.OpenAI Responses
tomkdocs.yml
underIntegrations
section.redirect_maps
inmkdocs.yml
forknowledge_graph.md
tobuilding_knowledge_graphs.md
.This description was created by
for 4205ad7. You can customize this summary. It will automatically update as commits are pushed.