Skip to content

Commit

Permalink
update langchain imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmer1 committed Oct 28, 2024
1 parent ecc1faf commit 6dda519
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fern/pages/integrations/cohere-and-langchain.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ Cohere [has first class support for LangChain](https://python.langchain.com/docs

To use LangChain and Cohere you will need:

- LangChain Package. To install it, run `pip install langchain`. If you run into any issues or want more details, [see this doc](https://python.langchain.com/docs/get_started/installation).
- LangChain package. To install it, run `pip install langchain`.

- LangChain Package. To install it, run:
- `pip install langchain`
- `pip install langchain-cohere` (to use the Cohere integrations in LangChain)
- Optional: `pip install langchain-community` (to access third-party integrations such as web search APIs)
- Cohere's SDK. To install it, run `pip install cohere`. If you run into any issues or want more details on Cohere's SDK, [see this wiki](https://github.com/cohere-ai/cohere-python).
- A Cohere API Key. For more details on pricing [see this page](https://cohere.com/pricing). When you create an account with Cohere, we automatically create a trial API key for you. This key will be available on the dashboard where you can copy it, and it's in the dashboard section called "API Keys" as well.

Expand Down

0 comments on commit 6dda519

Please sign in to comment.