Skip to content

Commit 9c316b1

Browse files
learner0810BenjaminBraunDev
authored andcommitted
Add links in openai request format (kubernetes-sigs#1757)
1 parent d8cd419 commit 9c316b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/epp/scheduling/types/types.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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.
9595
type 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.
114114
type ChatCompletionsRequest struct {

0 commit comments

Comments
 (0)