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

Google Scholar response cleanup #130

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

HalilCan
Copy link

@HalilCan HalilCan commented Apr 9, 2023

Hi! This is a great project and I'm happy to both use it and contribute to it.
One of the first things I did was use it with Google Scholar, but the search response included a lot of html (and text) artifacts bloating the ChatGPT query. This wastes tokens, makes the message less legible (for us), and possibly makes the "meaning" of the results less clear for gpt.
But I understand that that's the response you get from !gsc, so I just added a cleaning function to rid it of the artifacts I've encountered after some tests.

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

Successfully merging this pull request may close these issues.

None yet

1 participant