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

Detecting code from free flow text prompt #75

Open
aditya1709 opened this issue Jan 20, 2024 · 3 comments
Open

Detecting code from free flow text prompt #75

aditya1709 opened this issue Jan 20, 2024 · 3 comments

Comments

@aditya1709
Copy link

Was wondering if the input scan here can detect and extract code in free flow text prompt?
For example when the prompt contains code without the three backticks or markdown?

@asofter
Copy link
Collaborator

asofter commented Jan 22, 2024

Hey @aditya1709 , thanks for raising the issue here.

We actually looked at that using a few methods but it's not really trivial as code can be in many programming languages and sometimes it can be partial code. Anyway, recently we found a way to achieve that which still needs to be tested.

I will keep you posted

@aditya1709
Copy link
Author

Thanks @asofter
I have been working on this independently and would be down to collaborate if we can work on it together. I have a solution that I have almost built as well.

@asofter
Copy link
Collaborator

asofter commented Jan 22, 2024

That's awesome. Are you part of our Slack (invite? Let's connect there and discuss the next steps

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

2 participants