Gemini Embeddings 上的 "Net::HTTPBadResponse" 错误

Yes

What’s the output of running the command below with your API key?

curl https://generativelanguage.googleapis.com/v1beta/models/embedding-001:embedContent?key=API_KEY_GOES_HERE -H 'Content-Type: application/json'     -X POST     -d '{ "content": { "parts":[{ "text": "Why use Discourse for my online community?"}]}}' 
1 个赞