This repository was archived by the owner on Jun 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Prompt Injection
OGIOS edited this page Oct 1, 2023
·
3 revisions
There's the official custom prompt api for the models, thus no needed for this.
The prompt style for each model is different from one another, collected from huggingface.
-
PromptFalconfortiiuae/falcon-180B-chat -
PromptLlamaforcodellama/CodeLlama-34b-Instruct-hf&meta-llama/Llama-2-70b-chat-hf
Better off to just use it at the beginning of each conversation
import it with:
from hugchat_api.core import ListBots
ListBots.PromptFalcon # or
ListBots.PromptLlamaCreate and send to Bot.chat()
prompt = ListBots.PromptFalcon(system="...", user="...")
message: Message = bot.chat(text=prompt, ...)
...-
/newto create a new conversation - type
/pro - input system prompt
- input user prompt
Feel free to ask any questions or share me with your thoughts!