Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anthropic README updates #17684

Merged
merged 5 commits into from
Feb 23, 2024
Merged

Conversation

jorgevee
Copy link
Contributor

PR Message

  • Description: This PR adds a README file for the Anthropic API in the libs/partners folder of this repository. The README includes:

    • A brief description of the Anthropic package
    • Installation & API instructions
    • Usage examples
  • Issue: 17545

  • Dependencies: None

Additional notes:
This change only affects the docs package and does not introduce any new dependencies.

@efriis efriis added the partner label Feb 17, 2024
@efriis efriis self-assigned this Feb 17, 2024
Copy link

vercel bot commented Feb 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Feb 22, 2024 9:13pm

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. 🔌: anthropic Primarily related to Anthropic integrations 🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder labels Feb 17, 2024

```
from langchain_anthropic import ChatAnthropicMessages
from langchain.schema import AIMessage, HumanMessage
Copy link
Collaborator

Choose a reason for hiding this comment

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

from langchain_core.messages import ...


# Generate a response using the model

`response = model.invoke(input_message)`
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should be a list

response = model.invoke([input_messages])

@baskaryan baskaryan merged commit f6a9803 into langchain-ai:master Feb 23, 2024
19 checks passed
al1p pushed a commit to al1p/langchain that referenced this pull request Feb 27, 2024
# PR Message

- **Description:** This PR adds a README file for the Anthropic API in
the `libs/partners` folder of this repository. The README includes:
  - A brief description of the Anthropic package
  - Installation & API instructions
  - Usage examples
  
- **Issue:**
[17545](langchain-ai#17545)
  
- **Dependencies:** None

Additional notes:
This change only affects the docs package and does not introduce any new
dependencies.

---------

Co-authored-by: Bagatur <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔌: anthropic Primarily related to Anthropic integrations 🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder partner size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants