langchain/libs/partners/voyageai
Jaid e4d7b1a482
voyageai[patch]: top level reranker import (#19645)
The previous version didn't had  Voyage rerank in the init file


- [ ] **PR title**: langchain_voyageai reranker is not working
 


- [ ] **PR message**: 
    - **Description:** This fix let you run reranker from voyage
    - **Issue:** Was not able to run reranker from voyage
  






 @efriis
2024-03-28 06:37:55 +00:00
..
langchain_voyageai voyageai[patch]: top level reranker import (#19645) 2024-03-28 06:37:55 +00:00
scripts voyageai[patch]: init package (#19098) 2024-03-15 00:56:10 +00:00
tests voyageai[patch]: top level reranker import (#19645) 2024-03-28 06:37:55 +00:00
.gitignore voyageai[patch]: init package (#19098) 2024-03-15 00:56:10 +00:00
LICENSE voyageai[patch]: init package (#19098) 2024-03-15 00:56:10 +00:00
Makefile voyageai[patch]: init package (#19098) 2024-03-15 00:56:10 +00:00
poetry.lock voyageai[patch]: init package (#19098) 2024-03-15 00:56:10 +00:00
pyproject.toml voyageai[patch]: init package (#19098) 2024-03-15 00:56:10 +00:00
README.md voyageai[patch]: init package (#19098) 2024-03-15 00:56:10 +00:00

langchain-voyageai

This package contains the LangChain integrations for VoyageAI through their voyageai client package.

Installation and Setup

  • Install the LangChain partner package
pip install langchain-voyageai
  • Get an VoyageAI api key and set it as an environment variable (VOYAGE_API_KEY) or use the API key as a parameter in the Client.

Text Embedding Model

See a usage example

from langchain_voyageai import VoyageAIEmbeddings