Struggling to Structure Multi-Faceted Prompts Without Issues Using LlamaSharp → llama.cpp → LLaMA-3.1 #1237
CharlieMunzer
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I’ve been struggling for weeks with prompt formatting in my LlamaSharp → llama.cpp → LLaMA-3.1 pipeline. Despite multiple iterations, my chatbot still behaves inconsistently, and I’d really appreciate guidance.
My Setup:
The Prompt Pipeline:
The Chatbot Gets Confused Sometimes:
Example Prompt
a. System (History Example) User (Past): What is capital of France\n\nAssistant (Past): The capital of France is Paris. It's the city where many famous landmarks like the Eiffel Tower and Notre Dame Cathedral are located. Would you like to know more about the history of Paris or its cultural significance?\n\nSystem: The previous information is prior conversation history for context only. Do not respond to it.
-
,*
\n- Steps: 1., 2., 3.\n- Code: triple backticks (e.g. ```js)\n- Bold, italic, emojis 😄 when helpful\n- No raw HTML likeYou are a professional editor and rephraser.\n ONLY task is to rewrite the user’s message to improve grammar, readability, and tone, \nwhile keeping all meaning and intent EXACTLY the same. \n- Do NOT summarize. \n- Do NOT add or remove information.\n- Do NOT infer or assume context beyond what is explicitly written.\n- Output ONLY the rephrased version, as plain Markdown text.
Beta Was this translation helpful? Give feedback.
All reactions