npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

botium-connector-chatgpt

v1.0.4

Published

Botium Connector for ChatGPT

Readme

Botium Connector for ChatGPT (OpenAI Responses API)

This is a Botium connector for testing your ChatGPT-based chatbots using the OpenAI Responses API.

Read the Botium in a Nutshell articles first for best results.

How it works

Botium connects to the OpenAI Responses API and relays user messages to a specified ChatGPT model. It maintains a minimal conversation state and returns the assistant reply into Botium.

Works with:

Requirements

  • Node.js and npm
  • An OpenAI API key with access to the chosen model

Install

Using Botium CLI:

npm install -g botium-cli
npm install botium-connector-chatgpt --save-dev
botium-cli init
botium-cli run

Using Botium Bindings:

npm install --save-dev botium-bindings botium-connector-chatgpt
botium-bindings init mocha
npm install && npm run mocha

Configuration

Create botium.json:

{
  "botium": {
    "Capabilities": {
      "CONTAINERMODE": "chatgpt",
      "CHATGPT_API_KEY": "your-api-key",
      "CHATGPT_MODEL": "gpt-4o-mini",
      "CHATGPT_PROMPT": "You are a helpful assistant."
    }
  }
}

Then run the emulator to validate your config:

botium-cli emulator

Supported Capabilities

  • CONTAINERMODE: set to chatgpt to activate this connector
  • CHATGPT_API_KEY (required): OpenAI API key
  • CHATGPT_MODEL (required): model name, e.g. gpt-4o-mini
  • CHATGPT_PROMPT: optional system prompt
  • CHATGPT_TEMPERATURE: number
  • CHATGPT_MAX_TOKENS: number, mapped to max_output_tokens
  • CHATGPT_REASONING_EFFORT: string, passed as reasoning.effort
  • CHATGPT_FILE_SEND_MODE: base64 or upload (attachments handling)
  • CHATGPT_TOOLS: comma-separated OpenAI tool types
  • CHATGPT_INCLUDE: comma-separated include options for Responses API
  • CHATGPT_RESPOND_AS_BOTIUM_JSON: boolean, return Botium-style JSON (see below)

Botium-style JSON output (cards, buttons, media, intent)

If CHATGPT_RESPOND_AS_BOTIUM_JSON is enabled, the connector requests a strict JSON Schema response from the OpenAI Responses API and maps the result into the Botium message.

Minimum fields:

  • messageText (string, required)

Optional fields:

  • buttons (array of objects: text, payload?)
  • media (array of objects: mediaUri, mimeType?, altText?)
  • cards (array of objects: title, subtitle?, imageUri?, buttons?)
  • intent (string)

Example BotiumScript prompt:

#me
Reply as Botium JSON with messageText "Hello", and intent "greeting".

#bot