Socket
Book a DemoInstallSign in
Socket

openai-assistant

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openai-assistant

1.1.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

OpenaiAssistant::Assistant

This project/gem is for Ruby interact with OpenAI Assistant throught rest api.

The client to call is: OpenaiAssistant::Assistant

Installation

Install throught RubyGems server by below step:

$ bundle add openai/assistant.

$ bundle install openai/assistant

Usage

You can direct interact with gem by:

  • use the gem require "openai/assistant"
  • setup the api key instance = OpenaiAssistant::Assistant::new(${API_KEY})
  • interact with assistant:
    • instance.create_assistant(model, instruction)

    • instance.retrieve_assistant(assistant_id)

    • instance.delete_assistant(assistant_id)

    • instance.list_assistant()

Reference

  • source: https://github.com/duonghds24/openai-assistant
  • gem: https://rubygems.org/gems/openai-assistant
  • document: https://www.rubydoc.info/gems/openai-assistant/

FAQs

Package last updated on 08 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.