mirror of
https://github.com/likelovewant/ollama-for-amd.git
synced 2025-12-26 08:33:21 +00:00
use prompt templates
This commit is contained in:
committed by
Jeffrey Morgan
parent
f805a65c42
commit
68e6b4550c
@@ -34,3 +34,11 @@ type GenerateRequest struct {
|
||||
type GenerateResponse struct {
|
||||
Response string `json:"response"`
|
||||
}
|
||||
|
||||
type TokenResponse struct {
|
||||
Choices []TokenResponseChoice `json:"choices"`
|
||||
}
|
||||
|
||||
type TokenResponseChoice struct {
|
||||
Text string `json:"text"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user