// Chat Example{"model":"claude-3-7-sonnet-20250219","messages":[{"role":"user","content":"Who are you?"}],"stream":false}// PDF analysis example:one{"model":"claude-3-7-sonnet-20250219","messages":[{"role":"user","content":[{"type":"text","text":"Summarize the contents of this document"},{"type":"file","file":{"filename":"api-doc.pdf","file_data":"https://www.bt.cn/data/api-doc.pdf"}}]}],"max_tokens":1000,"stream":false}// PDF analysis example:two{"model":"claude-3-7-sonnet-20250219","messages":[{"role":"user","content":[{"type":"text","text":"Summarize the contents of this document"},{"type":"file_url","file_url":{"url":"https://www.bt.cn/data/api-doc.pdf"}}]}],"max_tokens":1000,"stream":false}
{"choices":[{"finish_reason":"stop","index":0,"message":{"content":"I'm Claude, an AI assistant created by Anthropic to be helpful, harmless, and honest. I can help with a wide range of tasks including answering questions, generating creative content, providing information, and having thoughtful conversations. I don't have personal experiences or consciousness like humans do, but I'm designed to communicate in a helpful and conversational way. How can I assist you today?","role":"assistant"}}],"created":1754385796,"id":"msg_01LeTZHmMsBECf4935HXPzAM","model":"claude-3-7-sonnet-20250219","object":"chat.completion","usage":{"completion_tokens":85,"prompt_tokens":11,"total_tokens":96}}