Calling Keymate API as a function or a tool
Python SDK to call Keymate API is here: https://github.com/ReminisApp/keymate-python-api
Below is the fully working Keymate API powered (as function) OpenAI API example:
https://gist.github.com/ozgurozkan123/ac191813a9f9de5a8eb9e5c3031f1ba3
You can similarly create a custom tool via langchain docs:
Or you may decide to use OpenAI function calling chain and add Keymate as a tool (function) to OpenAI GPT-4 API calls.