Open API Integration

Step-by-Step Guide for Open API Integration

Follow these steps to integrate NeurochainAI’s AI inference into your existing platform using the Open API protocol:

Step 1: Access the NeurochainAI App

Step 2: Obtain Your API Key

  1. Navigate to the Inference tab from the left-hand sidebar.

  2. Choose the API you’d like to integrate with.

  3. Click on Generate Key and copy the API key for use in your integration.

Do not share your API key with anyone, as it provides direct access to your AI models and infrastructure.

Step 3: Configure Your AI Integration

  1. If you’re using an AI service like MindMac or any platform that supports Open API, go to the settings of that platform.

  2. Locate the API Endpoint & Proxy section and click Add Network.

  3. In the form that appears, select "Other" as the provider and input the following details:

    • API URL: https://ncmb.neurochain.io/v1/chat/completions

    • API Key: Paste the key you generated earlier.

Step 4: Select a Model

  1. Once the connection is established, you’ll need to choose an AI model from NeurochainAI’s network.

  2. For a quick start, you can use Mistral-7B-Instruct-v0.2-GPTQ-Neurochain-custom-io. This model is optimized for diverse tasks like natural language processing, data analysis, and more.

Step 5: Finalize and Test the Integration

  1. After adding the model, save your changes and return to your platform’s dashboard.

  2. Initiate a test query by selecting the NeurochainAI connection and one of the models you’ve added.

  3. Run a few tests to ensure everything is working smoothly.

Step 6: Monitor Usage and Costs

  1. You can monitor your usage, track costs in NCN credits, and optimize your API calls directly from the NeurochainAI dashboard.

Last updated