Skip to main content
All CollectionsKeymate API: Custom GPTs and Other Uses
How to call Keymate API from a tool by OpenAI GPT-4 API function or as a custom Langchain tool
How to call Keymate API from a tool by OpenAI GPT-4 API function or as a custom Langchain tool

You can call Keymate API from a tool by OpenAI GPT-4 API function or as a custom Langchain tool

Ozgur Ozkan avatar
Written by Ozgur Ozkan
Updated over a week ago

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.






Did this answer your question?