26 lines
494 B
Go
26 lines
494 B
Go
|
package tmpl
|
||
|
|
||
|
import (
|
||
|
"github.com/gin-gonic/gin"
|
||
|
"net/http"
|
||
|
)
|
||
|
//AI扩展
|
||
|
func PageExtend(c *gin.Context) {
|
||
|
c.HTML(http.StatusOK, "extend.html", gin.H{
|
||
|
"action": "extend",
|
||
|
})
|
||
|
}
|
||
|
|
||
|
//智能体 fastgpt
|
||
|
func PageExtendFastGpt(c *gin.Context) {
|
||
|
c.HTML(http.StatusOK, "extend_fastgpt.html", gin.H{
|
||
|
"action": "extend_fastgpt",
|
||
|
})
|
||
|
}
|
||
|
|
||
|
//知识库 RAGflow
|
||
|
func PageExtendRAGFlow(c *gin.Context) {
|
||
|
c.HTML(http.StatusOK, "extend_ragflow.html", gin.H{
|
||
|
"action": "extend_ragflow",
|
||
|
})
|
||
|
}
|