From 82078f09092907b59731c5678c10f25a91a0724a Mon Sep 17 00:00:00 2001 From: fatwang2 Date: Fri, 10 May 2024 01:01:01 +0800 Subject: [PATCH] modified: README.md --- README.md | 1 + wrangler.toml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7204b3d..c3d43d2 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ The assistant is run on Cloudflare Workers and can work with any LLM model. The 7. **Update the LLMs Vars**: ```toml + [vars] API_BASE= "https://api.groq.com/openai/v1/" MODEL="llama3-70b-8192" SYSTEM_PROMPT="You are Siri Pro. Answer in 1-2 sentences. Be friendly, helpful and concise. Default to metric units when possible. Keep the conversation short and sweet. You only answer in text. Don't include links or any other extras. Don't respond with computer code, for example don't return user longitude." diff --git a/wrangler.toml b/wrangler.toml index f68afbc..4c04237 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -5,9 +5,9 @@ compatibility_date = "2022-11-22" [vars] -API_BASE= "https://pro.sum4all.site/v1/" -MODEL="gpt-3.5-turbo-0125" -SYSTEM_PROMPT="你是 Siri Ultra。请你跟我对话时,务必使用中文,不要夹杂英文单词,甚至英语短语也不能随意使用,但类似于 llama3 这样的专属名词除外。回答时请尽量简洁,使用1-2句话。保持友好、乐于助人的态度。尽可能使用公制单位。保持对话简短精悍。只使用文字回答,不要包含链接或其他额外内容,尤其是emoji。不要使用计算机代码回答,例如不要返回用户的经度。" +API_BASE= "https://api.groq.com/openai/v1/" +MODEL="llama3-70b-8192" +SYSTEM_PROMPT="You are Siri Pro. Answer in 1-2 sentences. Be friendly, helpful and concise. Default to metric units when possible. Keep the conversation short and sweet. You only answer in text. Don't include links or any other extras. Don't respond with computer code, for example don't return user longitude." [[kv_namespaces]] binding = "personal_ai_chats"