mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-07 08:26:15 +00:00
54 lines
No EOL
1.1 KiB
TOML
54 lines
No EOL
1.1 KiB
TOML
name = "new-cf-ai-backend"
|
|
main = "src/index.ts"
|
|
compatibility_date = "2024-02-23"
|
|
node_compat = true
|
|
|
|
tail_consumers = [{service = "new-cf-ai-backend-tail"}]
|
|
|
|
[[services]]
|
|
binding = "THREAD"
|
|
service = "tweet-thread"
|
|
entrypoint = "ThreadWorker"
|
|
|
|
# [env.preview]
|
|
[[vectorize]]
|
|
binding = "VECTORIZE_INDEX"
|
|
index_name = "supermem-vector-dev"
|
|
|
|
# [[vectorize]]
|
|
# binding = "VECTORIZE_INDEX"
|
|
# index_name = "supermem-vector-prod"
|
|
|
|
[ai]
|
|
binding = "AI"
|
|
|
|
# [[queues.producers]]
|
|
# queue = "batch-vector-queue"
|
|
# binding = "MY_QUEUE"
|
|
|
|
# [[queues.consumers]]
|
|
# queue = "batch-vector-queue"
|
|
|
|
[[kv_namespaces]]
|
|
binding = "KV"
|
|
id = "37a90353da63401e84e20e71165531d0"
|
|
preview_id = "c58b6202814f4224acea97627d0c18aa"
|
|
|
|
[placement]
|
|
mode = "smart"
|
|
|
|
[[queues.producers]]
|
|
queue = "prod-embedchunks-queue"
|
|
binding ="EMBEDCHUNKS_QUEUE"
|
|
|
|
[[queues.consumers]]
|
|
queue = "prod-embedchunks-queue"
|
|
max_batch_size = 100
|
|
max_retries = 3
|
|
dead_letter_queue = "prod-embedchunks-dlq"
|
|
|
|
|
|
[[d1_databases]]
|
|
binding = "DATABASE"
|
|
database_name = "prod-d1-supermemory"
|
|
database_id = "f527a727-c472-41d4-8eaf-3d7ba0f2f395" |