voyageai-python
voyageai-python copied to clipboard
Reranker API
AttributeError Traceback (most recent call last)
AttributeError: 'Client' object has no attribute 'rerank' how to resolve it
Hi,
Please upgrade to the latest version of the package through pip install -U voyageai, and you should be able to use the rerank method in Client. https://github.com/voyage-ai/voyageai-python/blob/e565fb60b854e80ead526a57ea0e6eb1db9efc33/voyageai/client.py#L81.