pull models

This commit is contained in:
Bruce MacDonald
2023-07-06 12:24:49 -04:00
committed by Jeffrey Morgan
parent 0833f5af3a
commit a6494f8211
5 changed files with 202 additions and 9 deletions

View File

@@ -18,6 +18,14 @@ func (e Error) Error() string {
return e.Message
}
type PullRequest struct {
Model string `json:"model"`
}
type PullResponse struct {
Response string `json:"response"`
}
type GenerateRequest struct {
Model string `json:"model"`
Prompt string `json:"prompt"`