Seeing no effect despite having it enabled under "Session"
Closed this issue · 3 comments
In this case the assistant is not writing the code inside a code block, so the extension recognizes it as simple text and not code
You can try saying "Write Hello World using Java inside a code block"
The assistant needs to write the message like this:
```
System.out.println("Hello World!");
```
and not like this:
System.out.println("Hello World!");
This behavior depends on the model you are using and how it was trained, for example you can try downloading and using the model "Vicuna", which should write code inside code blocks by default
You can also tell the assistant to use code blocks in the "Context", although the effectiveness of this also depends on the model
To make sure the extension is working, can you write the following message yourself and send a screenshot of the output? (Including the ``` at the top and bottom)
```
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, world!");
}
}
```
Once you click on "Generate", your message should look like this:
Thank you.
That was the last hint I needed.
Perfect, I'll close this issue
Feel free to comment again if you have any other problems