Anthropic.Completions (anthropic v0.1.1)

Link to this section Summary

Link to this section Types

Link to this type

create_params()

@type create_params() :: %{
  :prompt => String.t(),
  :model => String.t(),
  :max_tokens_to_sample => integer(),
  optional(:stop_sequences) => [String.t()],
  optional(:stream) => boolean(),
  optional(:temperature) => float(),
  optional(:top_k) => integer(),
  optional(:top_p) => float()
}

Link to this section Functions

Link to this function

create(client, params, opts \\ [])