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

Natural language to query with LLM #3074

Open
dianakramer opened this issue Apr 18, 2024 · 2 comments
Open

Natural language to query with LLM #3074

dianakramer opened this issue Apr 18, 2024 · 2 comments
Assignees

Comments

@dianakramer
Copy link
Contributor

Feature: Create queries from natural language. This will help analysts to create more efficient queries faster.

Description:

  • When asking an investigation question an LLM solution will recommend queries that will filter the events in a sketch relevant to the question.
  • Use prompt engineering with few-shot prompting and a pre-trained LLM model.
  • Take into account the data types in a sketch.
@jkppr
Copy link
Collaborator

jkppr commented Apr 22, 2024

Side note: Before merging this feature we need to fix a dependency issue with the required package for using Vertex AI google-cloud-aiplatform. In some early tests of the draft PR I have encountered an incompatibility in the dependencies of unfurl. Needs further investigation.

@jkppr jkppr linked a pull request May 30, 2024 that will close this issue
@jkppr jkppr removed a link to a pull request May 30, 2024
@jkppr
Copy link
Collaborator

jkppr commented May 30, 2024

LGTM & merged #3073

Next steps:

  • Update the prompt file with the final version.
  • Integrate the NL2Q feature in the DFIQ frontend
  • Add documentation on how to use the feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants