forcedotcom / Einstein-GPT-for-Developers

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

Response to improve #80

Open albarivas opened 2 months ago

albarivas commented 2 months ago

Summary

I wanted E4D to help me add a filter to an existing class. I sent the class as part of the request, and it did not do anything with the class or tried to incorporate my filter anywhere.

Steps To Reproduce:

Screenshot 2024-06-26 at 09 10 02

The class is https://github.com/trailheadapps/ebikes-lwc/blob/main/force-app/main/default/classes/ProductController.cls. I passed the instruction "In the next class, add a filter that filters by battery (Battery__c):", followed by the full class pasted.

Expected result

I was expecting E4D to at least add a battery @auraenabled variable on the filters class. Bonus would be if it had been capable of adding the filtering condition to the dynamic query.

Actual result

It did not do anything with my request - the response did not include battery anywhere. Did the same with chatGPT and it worked like a charm.

Screenshot 2024-06-26 at 09 10 07

Using code builder

Salesforce Extension Version in Code builder: 61.1.2

Salesforce Einstein For Developers Version in Code builder: 0.50.0

code-server: v4.18.0

Code: 1.83.1