Serving your agencies and tools as APIs with FastAPI.
run_fastapi()
function.
"0.0.0.0"
)8000
)"APP_TOKEN"
) - Name of the env variable storing app token./test_agency/get_completion
/test_agency/get_completion_stream
"APP_TOKEN"
specified (or a differently named variable if you provided app_token_env). If the token is not specified in the env variables, authentication will be disabled.
/test_agency_1/get_completion
/test_agency_1/get_completion_stream
/test_agency_2/get_completion
/test_agency_2/get_completion_stream
/tool/ExampleTool
/tool/TestTool
requests
library:
/your_agency_name/get_completion
(POST)/your_agency_name/get_completion_stream
(POST, streaming responses)/tool/ToolClassName
(POST)