Sha256: beaa780592c99684f311af01cfb968bcf9df3dff6330b64760fb078cefce7056

Contents?: true

Size: 870 Bytes

Versions: 1

Compression:

Stored size: 870 Bytes

Contents

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

The client to call is: `OpenaiAsissistant::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 =OpenaiAsissistant::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/

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openai-assistant-1.0.0 README.md