Giter Site home page Giter Site logo

bes-js / herc.ai Goto Github PK

View Code? Open in Web Editor NEW
65.0 2.0 24.0 2.98 MB

A powerful library for interacting with the Herc.ai API.

Home Page: https://www.npmjs.com/package/hercai

License: GNU General Public License v3.0

JavaScript 100.00%
ai api chatbot chatgpt chatgpt-api gpt gpt-4 bard bard-ai bing

herc.ai's Introduction

herc.ai's People

Contributors

bes-js avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

herc.ai's Issues

Error: Request failed with status code 500

I'm trying to run the simple example in the readme file.

/* Importing The Package */
const { Hercai } = require('hercai');

const herc = new Hercai();

/* Available Models */
/* "v2" , "beta" , "v3-beta" */
/* Default Model; "v2" */
herc.question({model:"v2",content:"hi, how are you?"}).then(response => {
console.log(response.reply);
/* The module will reply based on the message! */

});

I get Error: Request failed with status code 500
Are there temp issues? Does it usually work? Should i try later?

Request

Hello, can you help me for my commercial chatbot , just i wanna do some personalization on the params to the api. So i just know if i can have my own api server like yours on render? Pls

429 error code

How to resolve this error cause I always get it on my app.

413 Issue

I keep getting this error when using the NPM package on a question. Code is funcitoning 100%, I'm sure.

error - Error: Error: Request failed with status code 500
    at Hercai.question (node_modules\hercai\hercai.js:42:7)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async summarizeTranscript (webpack-internal:///(api)/./src/pages/api/summarize.ts:62:22)
    at async handler (webpack-internal:///(api)/./src/pages/api/summarize.ts:95:21)
    at async Object.apiResolver (node_modules\next\dist\server\api-utils\node.js:363:9)
    at async DevServer.runApi (node_modules\next\dist\server\next-server.js:488:9)
    at async Object.fn (node_modules\next\dist\server\next-server.js:750:37)
    at async Router.execute (node_modules\next\dist\server\router.js:253:36)
    at async DevServer.run (node_modules\next\dist\server\base-server.js:384:29)
    at async DevServer.run (node_modules\next\dist\server\dev\next-dev-server.js:741:20)
    at async DevServer.handleRequest (node_modules\next\dist\server\base-server.js:322:20) {
  page: '/api/summarize'
}```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.