Package com.morpheusdata.model.llm
Class LlmModelMetadata
java.lang.Object
com.morpheusdata.model.llm.LlmModelMetadata
Shared metadata helpers for provider-specific model endpoint and capability data.
Metadata is persisted on
LlmModel.getMetadata() and reused for request routing.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuildMetadata(Map<String, Object> capabilities, List<String> supportedEndpoints, String interactionEndpoint, String streamingInteractionEndpoint) getCapabilities(LlmModel model) static StringgetInteractionEndpoint(LlmModel model) static Stringstatic BooleangetStreamingSupported(LlmModel model) getSupportedEndpoints(LlmModel model)
-
Field Details
-
KEY_CAPABILITIES
- See Also:
-
KEY_SUPPORTED_ENDPOINTS
- See Also:
-
KEY_INTERACTION_ENDPOINT
- See Also:
-
KEY_STREAMING_INTERACTION_ENDPOINT
- See Also:
-
KEY_SUPPORTS
- See Also:
-
KEY_SUPPORTS_STREAMING
- See Also:
-
-
Method Details
-
buildMetadata
-
getInteractionEndpoint
-
getStreamingInteractionEndpoint
-
getSupportedEndpoints
-
getCapabilities
-
getStreamingSupported
-