Skip to content

Commit

Permalink
modified: README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fatwang2 committed May 9, 2024
1 parent ddf5a97 commit 82078f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
6 changes: 3 additions & 3 deletions wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 82078f0

Please sign in to comment.