Microsoft が管理する世界のデータ センター ネットワークを介してアプリケーションとサービスを構築、配置、および管理するインフラストラクチャおよびクラウド コンピューティング プラットフォーム。
こんにちは yoshihiro takatsu
curl --tls-max 1.2 https://testo4minijapaneast.openai.azure.com/
404 リソースが見つかりませんエラーを返します
以下のコマンドで出力を取得できています。チャット補完モデルをご使用ください。
curl --tls-max 1.2 -X POST "https://testo4minijapaneast.openai.azure.com/openai/deployments/gpt-4o-mini/chat/completions?api-version=2025-01-01-preview" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $AZURE_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "I am going to Paris, what should I see?"
}
],
"max_tokens": 4096,
"temperature": 1,
"top_p": 1,
"model": "gpt-4o-mini"
}'
{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"protected_material_code":{"filtered":false,"detected":false},"protected_material_text":{"filtered":false,"detected":false},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"finish_reason":"stop","index":0,"logprobs":null,"message":{"annotations":[],"content":"Paris is a city rich in history, culture, and art, and there are countless attractions to explore. Here are some must-see sites and experiences:\n\n1. **Eiffel Tower**: No trip to Paris is complete without visiting this iconic landmark. Consider going to the summit for stunning panoramic views of the city.\n\n2. **Louvre Museum**: Home to thousands of works of art, including the Mona Lisa and the Venus de Milo, the Louvre is a world-renowned museum that is a must-visit for art enthusiasts.\n\n3. **Notre-Dame Cathedral**: Although it was damaged by a fire in 2019, the Notre-Dame remains an architectural masterpiece. You can appreciate it from the outside and explore the area surrounding it.\n\n4. **Montmartre**: This charming neighborhood is known for its artistic history, narrow streets, and the stunning Basilica of Sacré-Cœur. Don't forget to explore the local cafes and shops.\n\n5. **Champs-Élysées and Arc de Triomphe**: Stroll down this famous avenue lined with shops and cafes, leading up to the iconic Arc de Triomphe, which honors those who fought for France.\n\n6. **Palace of Versailles**: Just outside Paris, this opulent palace is famous for its stunning gardens and lavish interiors. It's worth dedicating a day to explore.\n\n7. **Musée d'Orsay**: Housed in a former railway station, this museum features an extensive collection of Impressionist and post-Impressionist masterpieces.\n\n8. **Seine River Cruise**: Take a boat cruise on the Seine, especially at sunset, to see landmarks like the Eiffel Tower, Notre-Dame, and the Louvre from the water.\n\n9. **Sainte-Chapelle**: This Gothic chapel is renowned for its breathtaking stained-glass windows, depicting biblical scenes in vivid detail.\n\n10. **Le Marais**: A trendy neighborhood filled with boutiques, galleries, and cafes. It’s great for both shopping and experiencing the vibrant Parisian atmosphere.\n\n11. **Latin Quarter**: Known for its youthful energy and intellectual history, this area is home to the Sorbonne and picturesque streets. Explore its cafés and bookstores.\n\n12. **Père Lachaise Cemetery**: Visit the graves of famous figures like Jim Morrison, Oscar Wilde, and Frédéric Chopin in this tranquil and historic cemetery.\n\n13. **Luxembourg Gardens**: A beautiful park ideal for a leisurely stroll, picnic, or simply relaxing amidst the lush greenery and ornate fountains.\n\n14. **Palais Garnier**: This opulent opera house is a masterpiece of architecture and a great place to catch a performance or take a guided tour.\n\n15. **Street Markets**: Explore local street markets like Marché Bastille or Rue Cler to experience the vibrant local food culture.\n\nMake sure to check local opening hours and any reservation requirements before visiting these attractions. Enjoy your trip to Paris!","refusal":null,"role":"assistant"}}],"created":1752660040,"id":"chatcmpl-BttEGwLplJc4wW6nQEKJqyZuupbMJ","model":"gpt-4o-mini-2024-07-18","object":"chat.completion","prompt_filter_results":[{"prompt_index":0,"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"jailbreak":{"filtered":false,"detected":false},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}}}],"system_fingerprint":"fp_efad92c60b","usage":{"completion_tokens":595,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens":18,"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0},"total_tokens":613}}
ありがとうございます