### Python Example: Chat Completions with Together AI Source: https://docs.together.ai/docs/gpt-oss/index This Python snippet demonstrates how to use the Together AI client to create chat completions. It requires the 'together' library and specifies a model and user message. ```python from together import Together client = Together() completion = client.chat.completions.create( model="openai/gpt-oss-20b", messages=[{"role": "user", "content": "What are the top 3 things to do in New York?"}], ) print(completion.choices[0].message.content) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.