Class MistralAdapter
java.lang.Object
com.axelor.ai.provider.sync.adapter.MistralAdapter
- All Implemented Interfaces:
ProviderAdapter
Mistral's
GET /v1/models.
Reports a capabilities object, a max_context_length, and — uniquely — a
deprecation date. Models the vendor has already retired are dropped rather than synced into a
customer's catalogue.
Dated ids appear alongside the -latest aliases the platform ships. Both are returned;
suppressing the dated duplicates is the rule set's job, not the adapter's.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfetch(AiProvider provider, ModelListFetcher http) Fetches and normalises the vendor's model list.type()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axelor.ai.provider.sync.ProviderAdapter
baseUrl, requireApiKey
-
Constructor Details
-
MistralAdapter
public MistralAdapter()
-
-
Method Details
-
type
- Specified by:
typein interfaceProviderAdapter
-
fetch
Description copied from interface:ProviderAdapterFetches and normalises the vendor's model list.- Specified by:
fetchin interfaceProviderAdapter
-