Package org.mockserver.llm.codec
Class MistralCodec
java.lang.Object
org.mockserver.llm.codec.OpenAiCompatibleChatCodec
org.mockserver.llm.codec.MistralCodec
- All Implemented Interfaces:
ProviderCodec
Codec for Mistral AI (
api.mistral.ai). Mistral's chat API is
OpenAI-chat-compatible, so all encoding/decoding delegates to
OpenAiChatCompletionsCodec via OpenAiCompatibleChatCodec.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.mockserver.llm.codec.OpenAiCompatibleChatCodec
apiVersion, decode, encode, encodeEmbedding, encodeStreamingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mockserver.llm.ProviderCodec
encodeEmbedding, encodeRerank, streamingFormat
-
Constructor Details
-
MistralCodec
public MistralCodec()
-
-
Method Details
-
provider
- Specified by:
providerin interfaceProviderCodec- Specified by:
providerin classOpenAiCompatibleChatCodec
-