| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is the partition API used by the Agentset Platform.
uv syncCreate your modal API token (Manage Workspaces -> API Tokens)
Link modal cli to your account (copy the commands from the modal dashboard and run them with uv run):
uv run modal token set --token-id ak-xxx --token-secret as-xxx --profile=exampleuv run modal profile activate example# API key to secure the API
uv run modal secret create --force partitioner-secrets AGENTSET_API_KEY=xxx
# Redis host, port, and password
uv run modal secret create --force partitioner-secrets REDIS_HOST=xxx REDIS_PORT=xxx REDIS_PASSWORD=xxx
# Datalab API key
uv run modal secret create --force partitioner-secrets DATALAB_API_KEY=xxx
# R2 access key, secret key, bucket name, endpoint URL, and public URL
uv run modal secret create --force partitioner-secrets R2_ACCESS_KEY_ID=xxx R2_SECRET_ACCESS_KEY=xxx R2_BUCKET_NAME=xxx R2_ENDPOINT_URL=xxx R2_PUBLIC_URL=xxxuv run modal deploy -m src.appNow take the URL from the modal dashboard PARTITION_API_URL and the AGENTSET_API_KEY you specified above, and add them to the Agentset Platform as PARTITION_API_URL and PARTITION_API_KEY, respectively.
They should look like this:
PARTITION_API_URL=https://example.modal.run/ingest
PARTITION_API_KEY=xxxThis project is open-source under the MIT License. You can find it here.
| Back | FazBrowse Home | New Git URL |