Skip to content

Releases: shenhaofang/openai-go-sdk

feat: list files and delete file

18 Nov 09:50

Choose a tag to compare

v1.0.3

feat: api add list files and delete files

feat: downgrade the go version

06 Sep 04:17

Choose a tag to compare

v1.0.2

feat: downgrade the go version

feat: files upload and retrieve

28 Aug 12:44

Choose a tag to compare

  1. add two function to AIClient
    • func (c *AIClient) UpdateFile(method string, param OpenAIFileCreateParam) (*FileInfo, error)
    • RetrieveFile(method string, fileID string) (*FileInfo, error)
  2. unmarshal res even read eof in func Recv
  3. add function MakeChatReqBytes which return http request body bytes to AIClient

init

26 Aug 06:51

Choose a tag to compare

openai chat api
checked with qianwen compatible-mode