apifeatures

package
v0.0.0-...-5ba556e Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FeatureUpdate

func FeatureUpdate(c *gin.Context)

FeatureUpdate

@Summary		Feature Update
@Description	Updates a feature configuration. It will report if this feature is available in the user info endpoint.
@Tags			Features
@Produces		json
@Param			request	body	openapi.FeatureRequest	true	"The request body resource"
@Success		204
@Failure		400,500	{object}	openapi.HTTPError
@Router			/orgs/features [put]

func PostChatCompletions

func PostChatCompletions(c *gin.Context)

OpenAI Chat Completions

@Summary		OpenAI Chat Completions
@Description	Proxy to OpenAI chat completions `/vi/chat/completions`
@Tags			Features
@Accepts		json
@Produces		json
@Success		200
@Failure		400,500	{object}	openapi.HTTPError
@Router			/features/ask-ai/v1/chat/completions [post]

Types

This section is empty.

Jump to

Keyboard shortcuts

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