Invictus ai
  • Welcome to Invictus AI
  • Quick Start Guide
  • Natural Language Processing
  • API Reference Overview
  • Next Step
  • Authentication
  • Computer Vision
  • Healthcare Use Cases
  • General FAQ
Powered by GitBook
On this page
  • Overview
  • Prerequisites
  • Step 1: Install the SDK
  • Step 2: Initialize the Client
  • Step 3: Make Your First API Call
  • Example Response
  • Next Steps

Quick Start Guide

Overview

This guide will help you get up and running with Invictus AI in just a few minutes. By the end of this guide, you'll have made your first API call and be ready to explore our more advanced features.

Prerequisites

  • An Invictus AI account

  • API key (see Authentication)

  • Basic understanding of REST APIs

Step 1: Install the SDK

# Using npm
npm install invictus-ai

# Using pip for Python
pip install invictus-ai

Step 2: Initialize the Client

// JavaScript
const InvictusAI = require('invictus-ai');
const client = new InvictusAI.Client('YOUR_API_KEY');
# Python
from invictus_ai import Client
client = Client('YOUR_API_KEY')

Step 3: Make Your First API Call

// JavaScript
const response = await client.nlp.analyze({
  text: 'Invictus AI is transforming how businesses leverage artificial intelligence.'
});

console.log(response);
# Python
response = client.nlp.analyze(
  text='Invictus AI is transforming how businesses leverage artificial intelligence.'
)

print(response)

Example Response

{
  "sentiment": "positive",
  "entities": [
    {
      "text": "Invictus AI",
      "type": "ORGANIZATION",
      "confidence": 0.98
    },
    {
      "text": "artificial intelligence",
      "type": "CONCEPT",
      "confidence": 0.95
    }
  ],
  "keywords": ["Invictus AI", "transforming", "businesses", "leverage", "artificial intelligence"],
  "language": "en",
  "confidence": 0.97
}

Next Steps

  • Explore our Core Features

  • Try our Tutorials

  • Check out Use Cases for your industry

PreviousWelcome to Invictus AINextNatural Language Processing