GenAI.Provider.Anthropic (Noizu Labs, GenAI Wrapper v0.0.3)

Link to this section Summary

Functions

Sends a chat completion request to the Mistral API. This function constructs the request body based on the provided messages, tools, and settings, sends the request to the Mistral API, and returns a GenAI.ChatCompletion struct with the response.

Link to this section Functions

Link to this function

chat(messages, tools, settings)

Sends a chat completion request to the Mistral API. This function constructs the request body based on the provided messages, tools, and settings, sends the request to the Mistral API, and returns a GenAI.ChatCompletion struct with the response.

Link to this function

chat(model, messages, tools, hyper_parameters, provider_settings \\ [])

Link to this function

chat_message_from_json(json)

Link to this function

extract_function_calls(input)

Link to this function

normalize_messages(messages, acc \\ [])