struct Turquoise::Eloquent::Chat::Request
- Turquoise::Eloquent::Chat::Request
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
turquoise/eloquent/api.crConstructors
Instance Method Summary
-
#<<(message : Chat::Completion::Message)
Keep maximum size and system message
- #frequency_penalty : Int32 | Nil
- #frequency_penalty=(frequency_penalty : Int32 | Nil)
- #max_tokens : Int32 | Nil
- #max_tokens=(max_tokens : Int32 | Nil)
- #messages : Deque(Chat::Completion::Message)
- #messages=(messages : Deque(Chat::Completion::Message))
- #presence_penalty : Int32 | Nil
- #presence_penalty=(presence_penalty : Int32 | Nil)
- #repetition_penalty : Int32 | Nil
- #repetition_penalty=(repetition_penalty : Int32 | Nil)
- #seed : Int32 | Nil
- #seed=(seed : Int32 | Nil)
- #temperature : Int32 | Nil
- #temperature=(temperature : Int32 | Nil)
- #tools : Array(Turquoise::Eloquent::Chat::Tool)
- #tools=(tools : Array(Turquoise::Eloquent::Chat::Tool))
- #top_k : Int32 | Nil
- #top_k=(top_k : Int32 | Nil)
- #top_p : Int32 | Nil
- #top_p=(top_p : Int32 | Nil)