Use section headers for shared types

This commit is contained in:
Josh Mock
2024-11-19 12:23:01 -06:00
parent 6151aab208
commit ab21735b57
469 changed files with 2639 additions and 2850 deletions

View File

@ -45,11 +45,11 @@ Create a trained model vocabulary. This API is supported only for natural langua
[source,ts]
----
interface MlPutTrainedModelVocabularyRequest extends <<shared-type-request-base, RequestBase>> {
model_id: <<shared-type-id, Id>>
interface MlPutTrainedModelVocabularyRequest extends <<RequestBase>> {
model_id: <<Id>>
vocabulary: string[]
merges?: string[]
scores?: <<shared-type-double, double>>[]
scores?: <<double>>[]
}
----
@ -58,6 +58,6 @@ interface MlPutTrainedModelVocabularyRequest extends <<shared-type-request-base,
[source,ts]
----
type MlPutTrainedModelVocabularyResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
type MlPutTrainedModelVocabularyResponse = <<AcknowledgedResponseBase>>
----