-
Notifications
You must be signed in to change notification settings - Fork 2.5k
fix: enable vale workflow correctly to review documentation changes #10211
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
||
| `CustomEmbedder` generates dense vector representations of text. The user can configure the model and its parameters during initialization. | ||
|
|
||
| This component supports multiple embedding providers, e.g. OpenAI, Cohere, and local models. |
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.
🚫 [vale] reported by reviewdog 🐶
[Google.Latin] Use 'for example' instead of 'e.g. '.
|
|
||
| ### In a Pipeline | ||
|
|
||
| Please initialize the embedder before adding it to a pipeline: |
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.
[MyStyle.AvoidPlease] Avoid 'please' in instructions—it can make actions seem optional. Use imperative instead.
|
|
||
| | Parameter | Type | Default | Description | | ||
| | --- | --- | --- | --- | | ||
| | `model_name` | `str` | Required | The embedding model to utilize | |
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.
[MyStyle.WordChoice] Use 'use' instead of 'utilize'.
| | `model_name` | `str` | Required | The embedding model to utilize | | ||
| | `batch_size` | `int` | `32` | Number of texts to process at once | | ||
|
|
||
| Export your configuration to a json file for reproducibility. |
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.
[MyStyle.FileExtensions] Use uppercase for file extensions: 'JSON' → 'json'.
anakin87
left a comment
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.
👍
Proposed Changes:
Fixing the Vale prose linter workflow that wasn't working due to configuration issues.
vale_flags: "--config=docs-website/.vale.ini"to point to the correct config file locationdocs-website/docs) to fix path parsing errorHow did you test it?
First experimented in #10210, you can see the final testing done in this PR below, with the Vale comments
Notes for the reviewer
This will be helpful for the engineering team to keep the documentation pages clean
Checklist
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:and added!in case the PR includes breaking changes.