Skip to content

Latest commit

 

History

History
85 lines (57 loc) · 3.01 KB

README.md

File metadata and controls

85 lines (57 loc) · 3.01 KB

NEAR AI Cookbook

Version Twitter Follow

Welcome to the NEAR AI Cookbook! This repository is your comprehensive guide to integrating AI capabilities with NEAR Protocol. Whether you're building decentralized AI applications, implementing onchain machine learning models, or exploring the intersection of AI and Web3, this cookbook will help you get started with AI on NEAR.

Table of Contents

Overview

The NEAR AI Cookbook demonstrates various use cases and integrations with the NEAR AI infrastructure. It showcases how to leverage NEAR's ecosystem for AI-powered applications, including sentiment analysis, data processing, and agent-based decision making.

Features

  • Starter kits and templates for building AI-powered applications on NEAR
  • Integration guides for key NEAR AI ecosystem projects (e.g., Hyperbolic, Mintbase)
  • Reusable components for common AI functionalities (e.g., prediction markets, NFT creation)
  • Best practices for implementing AI models and algorithms on NEAR
  • Tools for enhancing AI accuracy and performance (e.g., RAG implementations)
  • User authentication and wallet integration examples
  • Scalable and modular architecture designs for AI dApps

Prerequisites

Before you begin, ensure you have the following installed:

You'll also need:

  • A NEAR account. If you don't have one, you can create it using NEAR Wallet.
  • API keys for services used in the examples. Refer to the .env.example file for the required keys.

Installation

  1. Clone the repository:

    git clone https://github.com/near/near-ai-cookbook.git
    cd near-ai-cookbook
    
  2. Install dependencies:

    npm install
    
  3. Set up environment variables:

    • Copy .env.example to .env.local
    • Fill in the required API keys and configuration values

Usage

  1. Run the development server:

    npm run dev
    
  2. Open http://localhost:3000 in your browser to explore the examples.

Contributing

We welcome contributions from the community! Whether it's adding new examples, improving documentation, or fixing bugs, your input is valuable. Please see our Contributing Guide for more details.

Resources

License

This project is open-source and available under the MIT License. See the LICENSE file for details.

Join us in shaping the future of decentralized AI on NEAR!