Writing effective chat messages
Each chat message is part of a chat conversation. Keep conversations focused around a specific subject or task. When you switch your context to another project in your workspace, or a different programming task, create a new chat conversation. You get more relevant results for your questions.
For the best results in your conversation:
- Write your chat messages in English.
- Start with simple and clear instructions.
- Use subsequent chat messages to refine the code output of the model.
- Be as specific and detailed as you can for each step. You can gradually enhance the created code through subsequent chat messages.
- Use file references in your message to provide relevant context. For example, if you want the
model to create a new paragraph that is similar to another paragraph in your program, reference this
program using
@<program>and refer to the paragraph in your message. - If you find the answers become less relevant, or if you start a new task, create a new chat conversation, and work from there. It is better to have many short chat conversations, each with a specific context, rather than one large conversation that might confuse the model with different and unrelated chat messages.