call_model
node and context schema.
Observe that this node tries to read and use the model_name
as defined by the context
object’s model_name
field.
create
method. See the Python and JS SDK reference docs for more information.
This example uses the same context schema as above, and creates an assistant with model_name
set to openai
.
model_name
defined as openai
. We can now use this assistant with this configuration:
update
method. This will create a new version of the assistant with the provided edits. See the Python and JS SDK reference docs for more information.
setLatest
method.
In the example above, to rollback to the first version of the assistant: