Releases: shenhaofang/openai-go-sdk
Releases · shenhaofang/openai-go-sdk
feat: list files and delete file
v1.0.3 feat: api add list files and delete files
feat: downgrade the go version
v1.0.2 feat: downgrade the go version
feat: files upload and retrieve
- add two function to AIClient
- func (c *AIClient) UpdateFile(method string, param OpenAIFileCreateParam) (*FileInfo, error)
- RetrieveFile(method string, fileID string) (*FileInfo, error)
- unmarshal res even read eof in func Recv
- add function MakeChatReqBytes which return http request body bytes to AIClient
init
openai chat api
checked with qianwen compatible-mode