Override prompt's assistant api
# support
s
I’m working on an assistant in Python and using the Create call API. I managed to override certain information like the firstMessage, but I can’t seem to find which variable is used to modify the prompt dynamically.
Hi everyone, I’m working on an assistant in Python and using the Create call API. I managed to override certain information like the firstMessage, but I can’t seem to find which variable is used to modify the prompt dynamically. Does anyone know how to do this or have any examples? Thanks in advance!
s
Copy code
json
  "model": {
    "messages": [
      {
        "content": "<insert-system-prompt-here>",
        "role": "system"
      }
    ]
  }
@Samuel you can add your system prompt in model.messages[0].content property.
2 Views