Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executing the /document command for a js file generates comments with hallucinations in it #107

Open
shivan-mohan opened this issue Nov 6, 2024 · 1 comment
Labels
Generated Responses Issues/Questions related to responses generated using Einstein GPT Owned by another team We are maintaining this feedback for visibility but it is not within the control of our team

Comments

@shivan-mohan
Copy link
Collaborator

Summary

I tried executing the /document command in the A4D chat window for a js file. In the received comment suggestion there is information which is not at all relevant to my code or workspace (it looks to be a lift and copy from a similar code used for training the model).

This happens with js documentation suggestions only. Generating documentation for Apex class does not produce such hallucinations.

Steps To Reproduce:

  1. Open a js file in VS code or Codebuilder
  2. Open the A4D chat window
  3. Execute the /document prompt and enable "Use entire file?"
  4. Make a note of the generated comment suggestion (esp. the top most comment)
  5. You may receive something along the lines as the attached display

A4D js document result CB
A4D js document result VS

Expected result

It would be nice to not include such information (hallucination induced) at all. For e.g. the ideal opening documentation would be using placeholders instead of hallucinated values
/**

**/

Actual result


A4D js document result CB
A4D js document result VS

Additional information

Attached above

Salesforce Extension Version in VS Code: v1.3.0

Salesforce Einstein For Developers Version in VS Code: v1.2.0

OS and version: MacOs 13.7

VS Code version:Version: 1.95.1 (Universal)

@smarvez smarvez added Generated Responses Issues/Questions related to responses generated using Einstein GPT Owned by another team We are maintaining this feedback for visibility but it is not within the control of our team labels Nov 7, 2024
@smarvez
Copy link

smarvez commented Nov 7, 2024

Hi @shivan-mohan - Thank you for the feedback. We'll pass this on to the AI Research team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Generated Responses Issues/Questions related to responses generated using Einstein GPT Owned by another team We are maintaining this feedback for visibility but it is not within the control of our team
Projects
None yet
Development

No branches or pull requests

2 participants