Package com.openai.services.async
Interface SkillServiceAsync
-
- All Implemented Interfaces:
public interface SkillServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceSkillServiceAsync.WithRawResponseA view of SkillServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract SkillServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract SkillServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
content
abstract ContentServiceAsync content()
-
versions
abstract VersionServiceAsync versions()
-
create
CompletableFuture<Skill> create()
Create a new skill.
-
create
abstract CompletableFuture<Skill> create(SkillCreateParams params, RequestOptions requestOptions)
-
create
CompletableFuture<Skill> create(SkillCreateParams params)
-
create
CompletableFuture<Skill> create(RequestOptions requestOptions)
-
retrieve
CompletableFuture<Skill> retrieve(String skillId)
Get a skill by its ID.
-
retrieve
CompletableFuture<Skill> retrieve(String skillId, SkillRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Skill> retrieve(String skillId, SkillRetrieveParams params)
-
retrieve
abstract CompletableFuture<Skill> retrieve(SkillRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Skill> retrieve(SkillRetrieveParams params)
-
retrieve
CompletableFuture<Skill> retrieve(String skillId, RequestOptions requestOptions)
-
update
CompletableFuture<Skill> update(String skillId, SkillUpdateParams params)
Update the default version pointer for a skill.
-
update
CompletableFuture<Skill> update(String skillId, SkillUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Skill> update(SkillUpdateParams params)
-
update
abstract CompletableFuture<Skill> update(SkillUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<SkillListPageAsync> list()
List all skills for the current project.
-
list
abstract CompletableFuture<SkillListPageAsync> list(SkillListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<SkillListPageAsync> list(SkillListParams params)
-
list
CompletableFuture<SkillListPageAsync> list(RequestOptions requestOptions)
-
delete
CompletableFuture<DeletedSkill> delete(String skillId)
Delete a skill by its ID.
-
delete
CompletableFuture<DeletedSkill> delete(String skillId, SkillDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<DeletedSkill> delete(String skillId, SkillDeleteParams params)
-
delete
abstract CompletableFuture<DeletedSkill> delete(SkillDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<DeletedSkill> delete(SkillDeleteParams params)
-
delete
CompletableFuture<DeletedSkill> delete(String skillId, RequestOptions requestOptions)
-
-
-
-