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

Add Integration with a Large Language Model (LLM) for Help with Creating XPath Expressions from XML Snippets #33

Closed
gkapfham opened this issue Aug 26, 2023 · 0 comments · Fixed by #91
Assignees
Labels
enhancement New feature or request

Comments

@gkapfham
Copy link
Collaborator

gkapfham commented Aug 26, 2023

One of the most challenging tasks associated with using Chasten is that a person
must write their own XPath expressions in order to query the AST of a Python
program. It would be ideal if Chasten could provide some support for
automatically creating the XPath expressions for a specific query.

One option that we should consider is giving a person who uses Chasten the
option of providing an OpenAI key and then sending some XML and a natural
language description of a query to OpenAI ChatGPT-3.5-turbo. We could then return
back an XPath expression that is likely to meet the query and then give the
person using the tool the option of adding it to their checks.yml
configuration file.

@gkapfham gkapfham added the enhancement New feature or request label Sep 19, 2023
@Jaclynpqc Jaclynpqc added this to the Week 5 Features milestone Sep 19, 2023
@Poiuy7312 Poiuy7312 self-assigned this Sep 26, 2023
@Poiuy7312 Poiuy7312 self-assigned this Sep 26, 2023
@Poiuy7312 Poiuy7312 linked a pull request Oct 17, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants