Keep calm and coding.
🇨🇳 China JiangXi・🕹Web developer
文心千帆 GO SDK ,文心一言
License: Apache License 2.0
Keep calm and coding.
🇨🇳 China JiangXi・🕹Web developer
Line 11 in 5b459d2
Temperature float32 `json:"temperature,omitempty"`
TopP float32 `json:"top_p,omitempty"`
PenaltyScore float32 `json:"penalty_score,omitempty"`
未暴露的情况下外部无法复用方法和逻辑。
大佬,感谢分享,包很好用。
我目前在使用过程中遇到了一个问题,请大佬帮忙看看。就是目前好像不支持手动/自动刷新AccessToken,因为config和accessToken都是小写的,无法自行获取后覆盖,是否考虑支持一下~
func (c *Client) newRequest(ctx context.Context, method, url string, setters ...requestOption) (*http.Request, error) {
// Default Options
args := &requestOptions{
body: nil,
header: make(http.Header),
}
for _, setter := range setters {
setter(args)
}
req, err := c.requestBuilder.Build(ctx, method, url, args.body, args.header)
if err != nil {
return nil, err
}
if len(c.config.accessToken) == 0 {
accessToken, err := c.GetAccessToken(ctx)
if err != nil {
return nil, err
}
c.config.accessToken = *accessToken
}
c.setCommonQuery(req)
return req, nil
}
目前使用发现的问题:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.