Skip to content

List Models

`@ha-bits/bit-openai`v0.1.11📥 556 downloadsopenai openai ai

OpenAI AI services including ChatGPT, GPT-4, Assistants, DALL-E, and more. Implements the @ha-bits/bit-ai interface.

Usage

yaml
# In your habit YAML
nodes:
  - id: my-bit-openai-node
    type: bit
    framework: bits
    module: "@ha-bits/bit-openai"
    action: "ask_chatgpt"
    data:
      # action properties...

Actions

ActionDescription
Ask ChatGPTAsk ChatGPT anything you want!
Ask AssistantAsk a GPT assistant anything you want!
List ModelsList available OpenAI models for your account.
Generate ImageGenerate an image using DALL-E
Vision PromptAsk GPT a question about an image
Text-to-SpeechGenerate an audio recording from text
Transcribe AudioTranscribe audio to text using whisper-1 model
Translate AudioTranslate audio to text using whisper-1 model
Extract Structured Data from TextReturns structured data from provided unstructured text.

Used In Showcases

Released under the AGPL-3.0 License.