From e01b00aa54865940fafedd9059f1fcd43ae89ed2 Mon Sep 17 00:00:00 2001 From: Leonid Ganeline Date: Mon, 28 Aug 2023 18:16:22 -0700 Subject: [PATCH] docs: `ainetwork` update (#9871) * Added links to the AI Network * Made title consistent to other tool kits * Added `integrations/providers/` integration card page * **No changes** in the example code! --- .../integrations/providers/ainetwork.mdx | 23 +++++++++++++++ .../integrations/toolkits/ainetwork.ipynb | 28 +++++-------------- 2 files changed, 30 insertions(+), 21 deletions(-) create mode 100644 docs/extras/integrations/providers/ainetwork.mdx diff --git a/docs/extras/integrations/providers/ainetwork.mdx b/docs/extras/integrations/providers/ainetwork.mdx new file mode 100644 index 00000000000..16bcbab1ca0 --- /dev/null +++ b/docs/extras/integrations/providers/ainetwork.mdx @@ -0,0 +1,23 @@ +# AINetwork + +>[AI Network](https://www.ainetwork.ai/build-on-ain) is a layer 1 blockchain designed to accommodate +> large-scale AI models, utilizing a decentralized GPU network powered by the +> [$AIN token](https://www.ainetwork.ai/token), enriching AI-driven `NFTs` (`AINFTs`). + + +## Installation and Setup + +You need to install `ain-py` python package. + +```bash +pip install ain-py +``` +You need to set the `AIN_BLOCKCHAIN_ACCOUNT_PRIVATE_KEY` environmental variable to your AIN Blockchain Account Private Key. +## Toolkit + +See a [usage example](/docs/integrations/toolkits/ainetwork). + +```python +from langchain.agents.agent_toolkits.ainetwork.toolkit import AINetworkToolkit +``` + diff --git a/docs/extras/integrations/toolkits/ainetwork.ipynb b/docs/extras/integrations/toolkits/ainetwork.ipynb index b3a84afd00d..8991cb7b3d7 100644 --- a/docs/extras/integrations/toolkits/ainetwork.ipynb +++ b/docs/extras/integrations/toolkits/ainetwork.ipynb @@ -1,17 +1,17 @@ { "cells": [ { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ - "# AINetwork Toolkit\n", + "# AINetwork\n", "\n", - "The AINetwork Toolkit is a set of tools for interacting with the AINetwork Blockchain. These tools allow you to transfer AIN, read and write values, create apps, and set permissions for specific paths within the blockchain database." + ">[AI Network](https://www.ainetwork.ai/build-on-ain) is a layer 1 blockchain designed to accommodate large-scale AI models, utilizing a decentralized GPU network powered by the [$AIN token](https://www.ainetwork.ai/token), enriching AI-driven `NFTs` (`AINFTs`).\n", + ">\n", + ">The `AINetwork Toolkit` is a set of tools for interacting with the [AINetwork Blockchain](https://www.ainetwork.ai/public/whitepaper.pdf). These tools allow you to transfer `AIN`, read and write values, create apps, and set permissions for specific paths within the blockchain database." ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -30,7 +30,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -51,7 +50,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -96,7 +94,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -119,7 +116,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -147,7 +143,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -157,7 +152,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -174,7 +168,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -213,7 +206,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -250,7 +242,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -290,7 +281,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -337,7 +327,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -362,7 +351,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -397,7 +385,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -438,7 +425,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -453,9 +440,8 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.12" - }, - "orig_nbformat": 4 + } }, "nbformat": 4, - "nbformat_minor": 2 + "nbformat_minor": 4 }