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

gaby: extract code from screenshots #67

Open
jba opened this issue Dec 5, 2024 · 0 comments
Open

gaby: extract code from screenshots #67

jba opened this issue Dec 5, 2024 · 0 comments
Assignees

Comments

@jba
Copy link
Contributor

jba commented Dec 5, 2024

If an issue has a screenshot of code, identify it as such and try to extract the code.

@jba jba self-assigned this Dec 5, 2024
gopherbot pushed a commit that referenced this issue Dec 10, 2024
The codeimage package attempts to extract code from images using an
LLM.

The LLM's output is checked for syntactic validity, but it may not
compile. We can't actually compile it without a sandbox.

Perhaps in a followup we can typecheck it with go/types.
I'm not sure if we can use go/packages because it may invoke the compiler
for some configurations.

For #67.


Change-Id: Ibb9b65a6bdf7fc2cefa0a6eb341939b4a7456c89
Reviewed-on: https://go-review.googlesource.com/c/oscar/+/634295
Reviewed-by: Zvonimir Pavlinovic <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant