How to Use a Playground Assistant in Python Without Sending Context Every Time?

I want to use an assistant created in the OpenAI Playground with the ID: asst_nYqcto7U17............. I don’t want to provide the context every time I make a query. Is it possible to call my assistant from Python so that it can respond based on how it was programmed without needing to send the context each time? If this is possible, please provide the code. ,

completion = client.chat.completions.create(
assistant_id=“asst_nYqcto7U17…”,
messages=[
{“role”: “user”, “content”: consulta}
]
)

1 Like