eggoil 跳至主要內容

文章

顯示從 4月, 2025 起發佈的文章

歡迎來到(三貂嶺商店),瑞芳區魚寮路51號, Xinbei, Taiwan

curl "https://api.anthropic.com/v1/messages/batches" \ --header "anthropic-version: 2023-06-01" \ --header "content-type: application/json" \ --header "x-api-key: $API_KEY" \ --header "anthropic-beta: message-batches-2024-09-24" \ --data '{ "requests": [ { "custom_id": "first-prompt-in-my-batch", "params": { "model": "claude-3-5-haiku-20241022", "max_tokens": 100, "messages": [ {"role": "user", "content": "Hey Claude, tell me a short fun fact about video games!"} ] } }, { "custom_id": "second-prompt-in-my-batch", "params": { "model": "claude-sonnet-4-20250514", "max_tokens": 100, "messages": ...