Class: Anthropic::Resources::Beta
- Inherits:
-
Object
- Object
- Anthropic::Resources::Beta
show all
- Defined in:
- lib/anthropic/resources/beta.rb,
lib/anthropic/resources/beta/files.rb,
lib/anthropic/resources/beta/models.rb,
lib/anthropic/resources/beta/skills.rb,
lib/anthropic/resources/beta/messages.rb,
lib/anthropic/resources/beta/skills/versions.rb,
lib/anthropic/resources/beta/messages/batches.rb
Defined Under Namespace
Classes: Files, Messages, Models, Skills
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(client:) ⇒ Beta
This method is part of a private API.
You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Beta.
21
22
23
24
25
26
27
|
# File 'lib/anthropic/resources/beta.rb', line 21
def initialize(client:)
@client = client
@models = Anthropic::Resources::Beta::Models.new(client: client)
@messages = Anthropic::Resources::Beta::Messages.new(client: client)
@files = Anthropic::Resources::Beta::Files.new(client: client)
@skills = Anthropic::Resources::Beta::Skills.new(client: client)
end
|
Instance Attribute Details
13
14
15
|
# File 'lib/anthropic/resources/beta.rb', line 13
def files
@files
end
|
10
11
12
|
# File 'lib/anthropic/resources/beta.rb', line 10
def messages
@messages
end
|
7
8
9
|
# File 'lib/anthropic/resources/beta.rb', line 7
def models
@models
end
|
16
17
18
|
# File 'lib/anthropic/resources/beta.rb', line 16
def skills
@skills
end
|