Dev Guides
4. Connect Your Functions API
With this part your GCA or “X Intelligence” will connect to your services, applications or anything else. Maybe databases.
@remote.custom_tool
For connecting your applications you should write good quality python functions. GCA have an decorator
for your functions.
@remote.custom_tool
def my_server_status() -> bool:
"""
Check the server status.
"""
return True
If you dont write the function docstring or return signature the llm doesnt work and gca not accept your functions.
remote.install_library
When your function needs to an requirement you can use this to download.
remote.install_library("numpy")
You can specify the version of library. numpy==x.x.x