Class VocabulariesService
java.lang.Object
com.alibaba.dashscope.resources.audio.VocabulariesService
audio.vocabularies — asr hot-word tables (audio design §1.4, Python v2 customization
parity). All verbs POST the customization endpoint with an action word; update/
delete return JobStatus.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(VocabularyCreateParams params) Create a table; the result carriesvocabularyId.create(VocabularyCreateParams params, RequestOptions options) Delete one table.delete(String vocabularyId, String model, RequestOptions options) Fetch one table's contents (1.xquery_vocabulary).get(String vocabularyId, String model, RequestOptions options) List tables, optionally narrowed to oneprefix; pages are 0-based on the wire.list(String prefix, int pageIndex, int pageSize, String model, RequestOptions options) Replace one table's contents.update(String vocabularyId, List<Map<String, Object>> vocabulary, String model, RequestOptions options)
-
Constructor Details
-
VocabulariesService
-
-
Method Details
-
create
Create a table; the result carriesvocabularyId. -
create
-
list
List tables, optionally narrowed to oneprefix; pages are 0-based on the wire. -
list
public VocabularyList list(String prefix, int pageIndex, int pageSize, String model, RequestOptions options) -
get
Fetch one table's contents (1.xquery_vocabulary). -
get
-
update
Replace one table's contents. -
update
-
delete
Delete one table. -
delete
-