Closed louis030195 closed 9 months ago
@louis030195 Here is a demo of how I got actions to work with assistant. It consists of the following steps:
args
to the generated HTTP request function.As an action this whole process should happen automatically in the assistant backend.
https://gist.github.com/CakeCrusher/aad0cdb695aea7eca55d31bc801a7f83
The expectation is to be able to pass a tool like so:
client.beta.assistants.create(
name="Action assistant",
tools=[
# ...
{
"type": "action",
"openapi_spec": """
openapi: 3.0.0
...
"""
} # this tool will execute autonimously
]
)
For simplicity here are the features that I think can wait until after the initial release:
should be easy to implement after merging https://github.com/stellar-amenities/assistants/pull/62
@CakeCrusher
done v0
25 prelim
i.e. same as in chatgpt ui
https://platform.openai.com/docs/actions but for assistant api