MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / mistralai

Method mistralai

core/src/llm/providers.rs:439–445  ·  view source on GitHub ↗

Create `MistralAI` configuration

(api_key: impl Into<String>, model: impl Into<String>)

Source from the content-addressed store, hash-verified

437
438 /// Create `MistralAI` configuration
439 pub fn mistralai(api_key: impl Into<String>, model: impl Into<String>) -> Self {
440 Self::MistralAI {
441 api_key: api_key.into(),
442 model: model.into(),
443 base_url: None,
444 }
445 }
446
447 /// Create `Google Gemini` configuration
448 pub fn gemini(api_key: impl Into<String>, model: impl Into<String>) -> Self {

Callers 3

test_mistralai.pyFile · 0.45
providersMethod · 0.45

Calls

no outgoing calls

Tested by 2

providersMethod · 0.36