Framework/...
What tools do you use? What prompts do you use?
Please, share you experience!
I use github copilot for almost a year already. I don't use prompts explicitly in 99% cases, I just start writing test or main code and it suggests me correct pieces. It follows my style. And it guesses what test should do in majority of cases. If not, I just start writing it myself and copilot gets it along the way. The way how I use prompts when I have to use it, is to just type a comment what I need, and copilot reads it and generates appropriate code. Same with tests. Though I usually write such prompts/comments individually for given/when/then sections only. For the whole test I never write prompts, it's enough to write test method name (or even start writing it), and it guesses it correctly. Copilot now has "Chat" feature, available in VS Code only, it allows to give it prompts in chat mode. Maybe that's what you're looking for. I don't miss this feature in intellij TBH, as it's way too time consuming for what it provides. I'm good with prompts in form of comments for this purpose. I mean, it would be nice to have it in intellij, but it's not enough for me to consider VS Code.
Does copilot send your code to some server outside? I asked because ChatGPT and AI Assistant from JetBrains do so (if I correct) and this prevent to use AI in commercial development
I think it does but default but you can disable that behaviour.
It kind of does. It sends not your code, but rather your prompts and generated snippets. And in practice, generated snippets use lots of enclosing code, so in the end - yes, it sends your code, or "some information" of your code. > this prevent to use AI in commercial development No, why do you think so? For example, I use it. Security team in our organization evaluated copilot and allowed to use it. If your thinking was true, then cloud providers wouldn't exist. And version control platforms like github, gitlab, bitbucket, and so on, would not exist either. The main obstacle here is not whether copilot/jetbrains/chatgpt/whatever sends proprietary data to some remote server or not, but rather whether you trust the owners of that server or not. If you don't trust them, or privacy policy doesn't fit you, then you won't be able to use it. You can read more about privacy, data protection, and what is being sent here https://github.com/features/copilot
To be clear, OpenAI GPT admits to sending analytics if you use ChatGPT (the app). It doesn’t say the use API results for analytics afaik, so you can use it for commercial development if that’s the blocker
Обсуждают сегодня