inter

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSEHandler

type SSEHandler struct {
	// contains filtered or unexported fields
}

SSEHandler ...

func NewSSEHandler

func NewSSEHandler(app *app.Application) *SSEHandler

NewSSEHandler ...

func (*SSEHandler) Search

func (h *SSEHandler) Search(c *gin.Context)

Search ...

type SearchRequest

type SearchRequest struct {
	Model      string `json:"model"`
	Source     string `json:"source"`
	Profile    string `json:"profile"`
	IsSearch   bool   `json:"isSearch"`
	IsShadcnUI bool   `json:"isShadcnUI"`
	Messages   []struct {
		ID          string `json:"id"`
		Content     string `json:"content"`
		Role        string `json:"role"`
		Attachments []struct {
			URL string `json:"url"`
		} `json:"attachments"`
		Type string `json:"type"`
	} `json:"messages"`
}

SearchRequest ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL