Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
Update create-a-custom-function.md (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricklamers authored Dec 14, 2023
1 parent bacf1d6 commit 6b5debd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ python_code: |
As you can see, the `python_code` and `parameters` YAML properties are passed into the class constructor to make sure the provided code in the YAML
can be used by the function's implementation.

We're working on the ability to resolve to custom Python class names, right now we're only importing all the functions defined in `openassistants.contrib`.
Check out the [example app](https://github.com/definitive-io/openassistants/blob/main/examples/fast-api-server/fast_api_server/main.py) to see how you can add custom functions to the assistant library.

0 comments on commit 6b5debd

Please sign in to comment.