File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -88,8 +88,8 @@ func (r *LLMRequestBody) CacheSalt() string {
8888 return r .Completions .CacheSalt
8989}
9090
91- // CompletionsRequest is a structured representation of the fields we parse out of the
92- // /v1/completions request body.
91+ // CompletionsRequest is a structured representation of the fields we parse out of the /v1/completions request
92+ // body. For detailed body fields, please refer to https://platform.openai.com/docs/api-reference/completions .
9393// This struct includes fields usable for plugins and scheduling decisions - and not the entire
9494// API spec.
9595type CompletionsRequest struct {
@@ -107,8 +107,8 @@ func (r *CompletionsRequest) String() string {
107107 return fmt .Sprintf ("{PromptLength: %d}" , len (r .Prompt ))
108108}
109109
110- // ChatCompletionsRequest is a structured representation of the fields we parse out of the
111- // /v1/chat/completions request body.
110+ // ChatCompletionsRequest is a structured representation of the fields we parse out of the v1/chat/completions
111+ // request body. For detailed body fields, please refer to https://platform.openai.com/docs/api-reference/chat .
112112// This struct includes fields usable for plugins and scheduling decisions - and not the entire
113113// API spec.
114114type ChatCompletionsRequest struct {
You can’t perform that action at this time.
0 commit comments