Switch to the text summarization endpoint with bart-large-cnn model

Also renames OPEN_AI variables to CF_AI
This commit is contained in:
2024-09-08 19:54:04 -04:00
parent c57d15d69b
commit a85cb7891e
3 changed files with 41 additions and 52 deletions

View File

@@ -13,4 +13,4 @@ command = "cargo install -q worker-build && worker-build --release"
crons = ["*/5 * * * *"]
[vars]
OPENAI_MODEL = "@cf/qwen/qwen1.5-14b-chat-awq"
CF_AI_MODEL = "@cf/facebook/bart-large-cnn"