首页 > 其他资讯

ChatGPT的接口都有哪些?


ChatGPT的接口都有哪些?

gpt-3.5-turbo为:https://api.openai.com/v1/chat/completions
网友代理接口1:https://service-ht4mbn8k-1315790278.hk.apigw.tencentcs.com/
网友代理接口2:https://api.1re.ren/v1/chat/completions

官方的其他接口:

https://api.openai.com/v1/engines/{engine}/completions: 
使用指定的GPT模型(engine)进行文本生成。
https://api.openai.com/v1/engines/{engine}/search: 
使用指定的GPT模型(engine)进行文本搜索。
https://api.openai.com/v1/engines/{engine}/davinci-codex/completions: 
使用Davinci Codex模型进行代码生成。
https://api.openai.com/v1/engines/{engine}/davinci/completions: 
使用Davinci模型进行文本生成。
https://api.openai.com/v1/engines/{engine}/davinci/search: 
使用Davinci模型进行文本搜索。
https://api.openai.com/v1/engines/{engine}/davinci-instruct-beta/completions: 
使用Davinci Instruct Beta模型进行指令生成。
https://api.openai.com/v1/engines/{engine}/davinci-codex/search: 
使用Davinci Codex模型进行代码搜索。
其中,{engine}为GPT模型的名称,例如davinci、curie等。

本文链接:https://www.zhanque.net/rw/2985.html