各个公司的翻译的效果:
现在流行的 token-based 鉴权,和IAM
If you pass in the value of the API key, the SDK manages the lifecycle of the tokens。
传api key的话,sdk管理token的生命周期。
传token的话,你自己管理token的生命周期
还有就是用户名,密码鉴权方式
form 这个大的class里面包含了,太多的业务逻辑
获取waston的API key:
首先 注册ibm云:
ibm 翻译云服务有不同的model,可以通过api 来列出来