@@ -27,27 +27,37 @@ class Client < OpenAI::Internal::Transport::BaseClient
2727 # @return [String, nil]
2828 attr_reader :webhook_secret
2929
30+ # Given a prompt, the model will return one or more predicted completions, and can
31+ # also return the probabilities of alternative tokens at each position.
3032 # @return [OpenAI::Resources::Completions]
3133 attr_reader :completions
3234
3335 # @return [OpenAI::Resources::Chat]
3436 attr_reader :chat
3537
38+ # Get a vector representation of a given input that can be easily consumed by
39+ # machine learning models and algorithms.
3640 # @return [OpenAI::Resources::Embeddings]
3741 attr_reader :embeddings
3842
43+ # Files are used to upload documents that can be used with features like
44+ # Assistants and Fine-tuning.
3945 # @return [OpenAI::Resources::Files]
4046 attr_reader :files
4147
48+ # Given a prompt and/or an input image, the model will generate a new image.
4249 # @return [OpenAI::Resources::Images]
4350 attr_reader :images
4451
4552 # @return [OpenAI::Resources::Audio]
4653 attr_reader :audio
4754
55+ # Given text and/or image inputs, classifies if those inputs are potentially
56+ # harmful.
4857 # @return [OpenAI::Resources::Moderations]
4958 attr_reader :moderations
5059
60+ # List and describe the various models available in the API.
5161 # @return [OpenAI::Resources::Models]
5262 attr_reader :models
5363
@@ -66,9 +76,11 @@ class Client < OpenAI::Internal::Transport::BaseClient
6676 # @return [OpenAI::Resources::Beta]
6777 attr_reader :beta
6878
79+ # Create large batches of API requests to run asynchronously.
6980 # @return [OpenAI::Resources::Batches]
7081 attr_reader :batches
7182
83+ # Use Uploads to upload large files in multiple parts.
7284 # @return [OpenAI::Resources::Uploads]
7385 attr_reader :uploads
7486
@@ -78,9 +90,11 @@ class Client < OpenAI::Internal::Transport::BaseClient
7890 # @return [OpenAI::Resources::Realtime]
7991 attr_reader :realtime
8092
93+ # Manage conversations and conversation items.
8194 # @return [OpenAI::Resources::Conversations]
8295 attr_reader :conversations
8396
97+ # Manage and run evals in the OpenAI platform.
8498 # @return [OpenAI::Resources::Evals]
8599 attr_reader :evals
86100
0 commit comments