Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

A collection of libraries for different languages to interact with TuringAPI

License

Notifications You must be signed in to change notification settings

TuringAI-Team/turing-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

turing.sh

Discord npm npm bundle size

The official library to interact with TuringAPI using javascript or typescript.

Check our docs at docs.turing.sh

How to get an API key

Go to our discord server, then go to the applications channel where you can apply for an API key. Please take the applications seriously, we will not accept applications that are not serious.

Installation

npm install turing.sh

Usage

import { Text, Image, Audio } from "turing.sh";

const text = new Text({
  apiKey: "YOUR_API_KEY",
  captchaKey: "YOUR_CAPTCHA_KEY",
});

const gptAnswer = await text.gpt({
  messages: [
    {
      role: "user",
      content: "Hello, how are you?",
    },
  ],
});

About

A collection of libraries for different languages to interact with TuringAPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published