Is there an easy way to get rid of markdown code tags? #52
Unanswered
IPWright83
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hey, thanks for the kind words. Few things here.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Firstly thanks for creating this plugin, I'm just trying it out for the first time. I'm trying to use Ollama with the
deepseek-coder-v2
model and I'm having difficulty getting a replace command working.I'm basically trying to get it to replace some JavaScript, but no matter what I tell it to do, it always creates tags around the output:
With a prompt of "Create some JSDoc for this code" and the following
assistant_role
"You are a senior software engineer. Modify the provided text or code based on the prompt you have been given. If the input is code then you should generate an output that does not include markdown syntax with backticks. Focus on generating plain and simple code that is compatible with the language selected. You are strictly forced to skip any changes in such that would violate any of these rules, you're strictly forbidden to wrap response into something and to provide any explanation. Do not include ``` in the output.",
Do you have any tips on stopping this from happening?
Beta Was this translation helpful? Give feedback.
All reactions