There are some cookbooks that help:
* Assistants API Overview (Python SDK)
* Function-calling with an OpenAPI specification
There’s also AIAPI which is similar to assistant API but is a little simpler in my opinion but I’m biased since I wrote it to help me with function calling.