Skip to content

Commit 0c782ee

Browse files
tyllenbccurme
andauthored
docs: update payman docs (#29479)
- **Description:** fix the import docs variables --------- Co-authored-by: ccurme <[email protected]>
1 parent db1693a commit 0c782ee

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docs/docs/integrations/providers/payman-tool.mdx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# PaymanAI
32

43
PaymanAI provides functionality to send and receive payments (fiat and crypto) on behalf of an AI Agent. To get started:
@@ -24,16 +23,16 @@ These can be wrapped as **LangChain Tools** for an LLM-based agent to call them
2423

2524
| Class | Package | Serializable | JS support | Package latest |
2625
| :--- | :--- | :---: | :---: | :--- |
27-
| PaymanAI | `langchain_community` ||| [PyPI Version] |
26+
| PaymanAI | `langchain-payman-tool` ||| [PyPI Version] |
2827

2928
If you're simply calling the PaymanAI SDK, you can do it directly or via the **Tool** interface in LangChain.
3029

3130
## Setup
3231

33-
1. **Install** the `langchain-community` (or equivalent) package:
32+
1. **Install** the PaymanAI tool package:
3433

3534
```bash
36-
pip install --quiet -U langchain-community
35+
pip install langchain-payman-tool
3736
```
3837

3938
2. **Install** the PaymanAI SDK:
@@ -54,7 +53,7 @@ Your `PAYMAN_API_SECRET` should be the secret key from app.paymanai.com. The `PA
5453
Here is an example of instantiating a PaymanAI tool. If you have multiple Payman methods, you can create multiple tools.
5554

5655
```python
57-
from langchain_community.tools.langchain_payman_tool.tool import PaymanAI
56+
from langchain_payman_tool.tool import PaymanAI
5857

5958
# Instantiate the PaymanAI tool (example)
6059
tool = PaymanAI(
@@ -104,12 +103,12 @@ You can bind a PaymanAI tool to a LangChain agent or chain that supports tool-ca
104103
1. **Sign up** at app.paymanai.com to get your **API Key**.
105104
2. **Install** dependencies:
106105
```bash
107-
pip install paymanai langchain-community
106+
pip install paymanai langchain-payman-tool
108107
```
109108
3. **Export** environment variables:
110109
```bash
111110
export PAYMAN_API_SECRET="YOUR_SECRET_KEY"
112111
export PAYMAN_ENVIRONMENT="sandbox"
113112
```
114113
4. **Instantiate** a PaymanAI tool, passing your desired name/description.
115-
5. **Call** the tool with `.invoke(...)` or integrate it into a chain or agent.
114+
5. **Call** the tool with `.invoke(...)` or integrate it into a chain or agent.

0 commit comments

Comments
 (0)