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

[gpt] Non-working prompts (thread) #1499

Open
prabhu opened this issue Dec 17, 2024 · 2 comments
Open

[gpt] Non-working prompts (thread) #1499

prabhu opened this issue Dec 17, 2024 · 2 comments
Labels
gpt help wanted Extra attention is needed

Comments

@prabhu
Copy link
Collaborator

prabhu commented Dec 17, 2024

Got any prompts that didn’t hit the mark? Drop ’em here—and if you’ve got the SBOM, even better!

@prabhu
Copy link
Collaborator Author

prabhu commented Dec 18, 2024

Explaining error messages

As mentioned here, the gpt doesn't do a good job of explaining error messages yet.

Prompt

I am getting the below error

Unable to parse package-lock.json without legacy peer dependencies. Retrying ...
Unable to parse package-lock.json in legacy and non-legacy mode. The resulting SBOM would be incomplete.

What should I do?

Output

Image

Analysis

Perhaps, cdxgen could use some error codes for messages like these, with a document containing some workarounds.

`Unable to parse ${pkgLockFile} without legacy peer dependencies. Retrying ...`,

`Unable to parse ${pkgLockFile} in legacy and non-legacy mode. The resulting SBOM would be incomplete.`,

@prabhu prabhu added help wanted Extra attention is needed gpt labels Dec 18, 2024
@prabhu
Copy link
Collaborator Author

prabhu commented Jan 6, 2025

cdxgenGPT is not detecting the "uv" package manager, despite my attempts to improve the knowledge file with explicit instructions. It always looks at the purl and makes a wild guess :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gpt help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant