forcedotcom / Einstein-GPT-for-Developers

Einstein GPT For Developers
BSD 3-Clause "New" or "Revised" License
33 stars 8 forks source link

Generated code references invalid system methods #6

Closed vnehess closed 5 months ago

vnehess commented 1 year ago

steps: prompt: Generate the namespace from the org in Apex

output String namespace = System.DomainParser.getNamespace();

I had to check, but that is not a valid method for System.DomainParser

AnanyaJha commented 1 year ago

Hi @vnehess, thanks for reporting this issue! Were you able to provide feedback on this generated response using the "EinsteinGPT: History & Feedback" panel in the Output Panel? Our model learns through feedback so the Thumbs Up/Thumbs Down will help us improve the responses that you're seeing as well.