Skip to content

Commit a3ec369

Browse files
Deployed fb42db2 to dev with MkDocs 1.6.1 and mike 2.1.4
1 parent 59a07bd commit a3ec369

File tree

8 files changed

+2518
-51
lines changed

8 files changed

+2518
-51
lines changed

dev/api/openapi3.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,26 @@ components:
778778
type: string
779779
description: Model URL (optional)
780780
example: https://api.example.com/v1/models/llama-2-7b-chat
781+
modelDetails:
782+
type: object
783+
description: Additional model metadata from MaaSModelRef annotations
784+
properties:
785+
displayName:
786+
type: string
787+
description: Human-readable display name (from openshift.io/display-name annotation)
788+
example: Llama 2 7B Chat
789+
description:
790+
type: string
791+
description: Model description (from openshift.io/description annotation)
792+
example: A large language model optimized for chat use cases
793+
genaiUseCase:
794+
type: string
795+
description: GenAI use case category (from opendatahub.io/genai-use-case annotation)
796+
example: chat
797+
contextWindow:
798+
type: string
799+
description: Context window size (from opendatahub.io/context-window annotation)
800+
example: "4096"
781801
kind:
782802
type: string
783803
description: The model reference kind (e.g., "LLMInferenceService")
@@ -801,6 +821,11 @@ components:
801821
owned_by: model-namespace/llama-2-7b-chat
802822
ready: true
803823
url: https://api.example.com/v1/models/llama-2-7b-chat
824+
modelDetails:
825+
displayName: Llama 2 7B Chat
826+
description: A large language model optimized for chat use cases
827+
genaiUseCase: chat
828+
contextWindow: "4096"
804829
kind: LLMInferenceService
805830
subscriptions:
806831
- name: premium-subscription

0 commit comments

Comments
 (0)