Uses of Record Class
com.tnsai.llm.ModelInfo
Packages that use ModelInfo
-
Uses of ModelInfo in com.tnsai.llm
Methods in com.tnsai.llm that return ModelInfoModifier and TypeMethodDescriptionModelInfo.Builder.build()static ModelInfoModelInfo.forCloudModel(String id, String provider, String ownedBy, Instant created, int contextLength) Creates a ModelInfo for cloud models with context length.static ModelInfoModelInfo.forLocalModel(String id, String provider, long sizeBytes, Instant modified, String family) Creates a ModelInfo with full details for local models (Ollama).static ModelInfoCreates a simple ModelInfo with just id and provider.static ModelInfoCreates a ModelInfo with id, provider, and owner.Methods in com.tnsai.llm that return types with arguments of type ModelInfoModifier and TypeMethodDescriptionLLMClient.listModels()Lists available models from the provider.