chenfei-wu / TaskMatrix

Other
34.53k stars 3.33k forks source link

无法使用微软的openai_key?? #428

Open limumua opened 1 year ago

limumua commented 1 year ago

怎么用微软的openaikey呀,各位大哥帮忙看看

limumua commented 1 year ago

怎么用微软的openaikey呀,各位大哥帮忙看看 @msftgits @ezioruan @bojieli @rupeshs

rupeshs commented 1 year ago

@limumua You can get your OpenAI key from https://platform.openai.com/ Please use the API-key in the colab %env OPENAI_API_KEY=<your_key> or you can export OPENAI_API_KEY as environment variable.

ezioruan commented 1 year ago

@limumua 你说的是不是 微软azure 的open api key, 如果是这个 他和openapi的还是有点区别的 需要做一些适配

limumua commented 1 year ago

@limumua 你说的是不是 微软azure 的open api key, 如果是这个 他和openapi的还是有点区别的 需要做一些适配

要怎么做呢

limumua commented 1 year ago

@limumua You can get your OpenAI key from https://platform.openai.com/ Please use the API-key in the colab %env OPENAI_API_KEY=<your_key> or you can export OPENAI_API_KEY as environment variable.

my internet can not use openaiapi,so i want use azure openai.ToT

ezioruan commented 1 year ago

@limumua 你可以使用代理转换 https://github.com/stulzq/azure-openai-proxy。 或者就是在这个项目的源码里面改下适配了

zylhub commented 1 year ago

https://github.com/microsoft/TaskMatrix/blob/main/LowCodeLLM/config.template