FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

intellivoid/CoffeeHouse-JavaScript-API-Wrapper: Official JavaScript API Wrapper for CoffeeHouse · GitHub

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoffeeHouse API Wrapper for JavaScript

This is a very simple API Wrapper for the CoffeeHouse API. Using This Library only supports the V1IVA2.0 CoffeeHouse API which is based from this Documentation

Installation

npm i coffeehouse

Lydia Example

const { LydiaAI } = require("coffeehouse");

async function speak(apikey, text) {
  const api = new LydiaAI(apikey);
  const session = await api.createSession();
  console.log("Session ID: " + session.id);
  session.think_thought(text).then((data) => console.log(data.output));
}

speak("Your API Key", "Hello World");

About

Official JavaScript API Wrapper for CoffeeHouse

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL