openapi

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChatAgent

func ChatAgent(ctx *gin.Context)

ChatAgent

@Tags			openapi
@Summary		智能体对话OpenAPI
@Description	智能体对话OpenAPI
@Accept			json
@Produce		json
@Param			data	body		request.OpenAPIAgentChatRequest	true	"请求参数"
@Success		200		{object}	response.OpenAPIAgentChatResponse
@Success		400		{object}	response.Response
@Router			/agent/chat [post]

func ChatRag

func ChatRag(ctx *gin.Context)

ChatRag

@Tags			openapi
@Summary		文本问答OpenAPI
@Description	文本问答OpenAPI
@Accept			json
@Produce		json
@Param			data	body		request.OpenAPIRagChatRequest	true	"请求参数"
@Success		200		{object}	response.OpenAPIRagChatResponse
@Success		400		{object}	response.Response
@Router			/rag/chat [post]

func CreateAgentConversation

func CreateAgentConversation(ctx *gin.Context)

CreateAgentConversation

@Tags			openapi
@Summary		智能体创建对话OpenAPI
@Description	智能体创建对话OpenAPI
@Accept			json
@Produce		json
@Param			data	body		request.OpenAPIAgentCreateConversationRequest	true	"请求参数"
@Success		400		{object}	response.Response{data=response.OpenAPIAgentCreateConversationResponse}
@Router			/agent/conversation [post]

Types

This section is empty.

Jump to

Keyboard shortcuts

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