mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-25 07:11:03 +00:00
11 lines
178 B
Go
11 lines
178 B
Go
|
package schema
|
||
|
|
||
|
type TokenizeRequest struct {
|
||
|
Content string `json:"content"`
|
||
|
Model string `json:"model"`
|
||
|
}
|
||
|
|
||
|
type TokenizeResponse struct {
|
||
|
Tokens []int32 `json:"tokens"`
|
||
|
}
|