Sha256: aea9f89fddbd4f745f3b1823a58373a5017aa00596ad17ce992c536ceaa63916

Contents?: true

Size: 837 Bytes

Versions: 4

Compression:

Stored size: 837 Bytes

Contents

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

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

4 entries across 4 versions & 1 rubygems

Version Path
openai-assistant-0.7.0 README.md
openai-assistant-0.6.0 README.md
openai-assistant-0.5.0 README.md
openai-assistant-0.4.0 README.md