{ "error_code": 110, "error_msg": "Access token invalid or no longer valid" }
{ "input": [ "string" ], "user_id\t": "string" }
curl --location --request POST 'https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/embeddings/embedding-v1' \ --header 'Authorization: Bearer ' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data-raw '{ "input": [ "string" ], "user_id\t": "string" }'
{ "id": "string", "object": "string", "created": 0, "data": [ { "object": "string", "embedding": [ 0 ], "index": 0 } ], "usage": { "prompt_tokens": 0, "total_tokens": 0 } }