Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

​Reranking Tutorial: 'rank_fields' argument unavailable #247

@Mitchell-Odili

Description

@Mitchell-Odili

Issue Type

Bug Report

Notebook Name

notebooks/guides/getting-started/v2/tutorial_pt5_v2.ipynb

Description

Why can't I get the "rank_fields" argument to work?
Here's the error I get - V2Client.rerank() got an unexpected keyword argument 'rank_fields'

Steps to Reproduce (for bugs)

  1. Open notebook
  2. Run the notebook till Cell 8
  3. Error thrown - V2Client.rerank() got an unexpected keyword argument 'rank_fields'

System Information

OS: Windows 11
Python version - 3.11.10
Packages : cohere==5.12.0

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions