package
0.0.1
Repository: https://github.com/yylt/gptmux.git
Documentation: pkg.go.dev

# README

Go API Server for openapi

Open AI(ChatGPT)几乎可以应用于任何涉及理解或生成自然语言或代码的任务。我们提供一系列具有不同功率级别的模型,适用于不同的任务,并且能够微调您自己的自定义模型。这些模型可用于从内容生成到语义搜索和分类的所有领域。

Overview

This server was generated by the [openapi-generator] (https://openapi-generator.tech) project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.

To see how to make this your own, look here:

README

  • API version: 1.0.0
  • Build date: 2024-04-18T04:31:22.176815411Z[Etc/UTC]
  • Generator version: 7.5.0-SNAPSHOT

Running the server

To run the server, follow these simple steps:

go run main.go

To run the server in a docker container

docker build --network=host -t openapi .

Once the image is built, just run

docker run --rm -it openapi

Known Issue

Endpoints sharing a common path may result in issues. For example, /v2/pet/findByTags and /v2/pet/:petId will result in an issue with the Gin framework. For more information about this known limitation, please refer to gin-gonic/gin#388 for more information.

A workaround is to manually update the path and handler. Please refer to gin-gonic/gin/issues/205#issuecomment-296155497 for more information.

# Functions

Default handler for not yet implemented routes.
NewRouter returns a new router.
NewRouter add routes to existing gin engine.

# Structs

No description provided by the author
Route is the information for every URI.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
V1FineTuningJobsFineTuningJobIdCancelPost200ResponseHyperparameters - 微调作业使用的超参数。更多详细信息请参阅微调指南.
No description provided by the author
No description provided by the author
No description provided by the author
V1FineTuningJobsFineTuningJobIdGet200ResponseHyperparameters - 微调作业使用的超参数。更多详细信息请参阅微调指南.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
V1FineTuningJobsPostRequestHyperparameters - 用于微调工作的超参数。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
V1ModerationsPost200ResponseResultsInnerCategories - 审核模型检测到的所有分类标签.
V1ModerationsPost200ResponseResultsInnerCategoryScores - 审核模型对所有分类标签的得分.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
V1ThreadsThreadIdMessagesMessageIdPostRequestMetadata - 一组可附加到对象的 16 个键值对。这对于以结构化格式存储有关对象的附加信息非常有用。键的最大长度为 64 个字符,值的最大长度为 512 个字符。.
No description provided by the author
No description provided by the author
V1ThreadsThreadIdMessagesPost200ResponseContentInnerText - 作为消息一部分的文本内容。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
V1ThreadsThreadIdPostRequestMetadata - 一组可附加到对象的 16 个键值对。这对于以结构化格式存储有关对象的附加信息非常有用。键的最大长度为 64 个字符,值的最大长度为 512 个字符。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
V1ThreadsThreadIdRunsRunIdGetRequestMetadata - 一组可附加到对象的 16 个键值对。这对于以结构化格式存储有关对象的附加信息非常有用。键的最大长度为 64 个字符,值的最大长度为 512 个字符。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author