Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InteractPayload ¶
type InteractPayload struct {
Prompt string `json:"prompt"`
}
type InteractResponse ¶
type InteractResponse struct {
Text string `json:"text"`
}
type MockMyContextAI ¶
func (*MockMyContextAI) Interact ¶
func (app *MockMyContextAI) Interact(prompt string) string
type RestAPI ¶
type RestAPI struct {
// contains filtered or unexported fields
}
func NewRestAPI ¶
func NewRestAPI(echo Echo, app interactor.InteractorInterface) RestAPI
Click to show internal directories.
Click to hide internal directories.