thinkingjimmy / Learning-Prompt

Free prompt engineering online course. ChatGPT and Midjourney tutorials are now included!

Home Page:https://learningprompt.wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

embedding的价格不是0.002每1k tokens

JakkuSakura opened this issue · comments

这一步程序会将第一步导入的数据都跑一遍,并使用 OpenAI 的 embedings API。如果第一步你上传了自己的数据,只需要将 ' ' 里的 Jimmy-Newsletter-Corpus 修改为你上传的文件夹名称即可。

这一步会耗费你的 OpenAI 的 Credit,1000 个 token 的价格是 $0.02,运行以下代码前需要注意你的账号里是否还有钱。

Embedding models‬
‪Build advanced search, clustering, topic modeling, and classification functionality with our embeddings offering.‬
‪Learn more about embeddings‬

‪Ada‬
‪Usage‬
‪$0.0004 / 1K tokens‬

感谢勘误,已修复