View Source OpenAi.Mocks.ChatCompletion (OpenAI REST API Client v0.4.4)

Mocks for chat completion related responses.

Summary

Functions

Link to this function

chat_completion_choice(data)

View Source
Link to this function

chat_completion_choice_logprobs(data)

View Source
Link to this function

chat_completion_choice_message(data)

View Source
Link to this function

create(data \\ %{}, choices_count \\ 2)

View Source