File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed
Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,6 @@ type EvaluationResult struct {
4848 Details string `json:"details,omitempty"`
4949}
5050
51- type Organization struct {
52- Name string `json:"name"`
53- }
54-
5551var FailedTests = errors .New ("❌ Some tests failed." )
5652
5753// NewEvalCommand returns a new command to evaluate prompts against models
Original file line number Diff line number Diff line change @@ -26,13 +26,12 @@ type ChatMessage struct {
2626
2727// ChatCompletionOptions represents available options for a chat completion request.
2828type ChatCompletionOptions struct {
29- MaxTokens * int `json:"max_tokens,omitempty"`
30- Messages []ChatMessage `json:"messages"`
31- Model string `json:"model"`
32- Stream bool `json:"stream,omitempty"`
33- Temperature * float64 `json:"temperature,omitempty"`
34- TopP * float64 `json:"top_p,omitempty"`
35- Organization * string `json:"organization,omitempty"`
29+ MaxTokens * int `json:"max_tokens,omitempty"`
30+ Messages []ChatMessage `json:"messages"`
31+ Model string `json:"model"`
32+ Stream bool `json:"stream,omitempty"`
33+ Temperature * float64 `json:"temperature,omitempty"`
34+ TopP * float64 `json:"top_p,omitempty"`
3635}
3736
3837// ChatChoiceMessage is a message from a choice in a chat conversation.
You can’t perform that action at this time.
0 commit comments