Skip to content

Conversation

@as-suvorov
Copy link
Collaborator

Description

Add TextRerankPipeline to readme.md
Align embedding and rerank models export flags

Checklist:

  • I have made corresponding changes to the documentation.

Copilot AI review requested due to automatic review settings November 6, 2025 11:20
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds documentation for the TextRerankPipeline feature to the main README and standardizes the model export flags across documentation. The changes replace --trust-remote-code with explicit --task parameters for better consistency.

Key changes:

  • Added TextRerankPipeline documentation with Python and C++ usage examples
  • Standardized Optimum CLI export commands to use --task flag instead of --trust-remote-code
  • Updated embedding model exports to use --task feature-extraction and rerank model exports to use --task text-classification

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
README.md Added complete TextRerankPipeline section with API examples and updated embedding model export command
site/docs/use-cases/text-rerank/index.mdx Updated rerank model export to use --task text-classification
site/docs/use-cases/text-embedding/index.mdx Updated embedding model export to use --task feature-extraction
samples/python/rag/README.md Standardized export commands for both embedding and rerank models, removed trust_remote_code parameter
samples/js/rag/README.md Updated embedding model export command to use task flag
samples/cpp/rag/README.md Standardized export commands for both embedding and rerank models

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@as-suvorov as-suvorov requested a review from yatarkan November 6, 2025 11:23
@as-suvorov as-suvorov added this pull request to the merge queue Nov 12, 2025
Merged via the queue into openvinotoolkit:master with commit 63bad30 Nov 12, 2025
122 of 124 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants