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

feat: Add templates with AgentQL Component #6248

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

Conversation

desi003
Copy link

@desi003 desi003 commented Feb 10, 2025

Adds 2 Langflow templates with AgentQL Components: Price Deal Finder and Research Paper Chatbot.

Price Deal Finder is an agent that finds prices of products by using AgentQL Component to scrape through different e-commerce websites.

Research Paper Chatbot is a chatbot that uses AgentQL Component to scrape through research papers in the ArXiv archive to answer questions and give summaries.

Resolves TF-5573

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. enhancement New feature or request labels Feb 10, 2025
@desi003
Copy link
Author

desi003 commented Feb 10, 2025

image

This is the screenshot of the Price Deal Finder and Research Paper Chatbot templates in Langflow.

@edwinjosechittilappilly edwinjosechittilappilly changed the title Add templates with AgentQL Component feat: Add templates with AgentQL Component Feb 10, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 10, 2025
@edwinjosechittilappilly
Copy link
Collaborator

@desi003 you need not update the styleutils.ts

instead if you need to add icons you can just mention
"icon": "dollar-sign",

or "book-open-text"

the icon name directly from https://lucide.dev/icons/book-open-text

Can you try that It should work

Copy link
Collaborator

@edwinjosechittilappilly edwinjosechittilappilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need not update the styleutils.ts.

Instead just add the icon name from lucid icons.

@edwinjosechittilappilly
Copy link
Collaborator

@desi003 you need not update the styleutils.ts

instead if you need to add icons you can just mention "icon": "dollar-sign",

or "book-open-text"

the icon name directly from https://lucide.dev/icons/book-open-text

Can you try that It should work

You can keep as it is.
Thank you your approach is much better and it would improve the performance too.
Sorry for the confusion.

@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Feb 10, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 10, 2025
@desi003
Copy link
Author

desi003 commented Feb 10, 2025

image

This is the screenshot with the News Aggregator template.

News Aggregator is an agent that helps extract data and from webpages by using the AgentQL Component.

@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 11, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 11, 2025
Copy link
Collaborator

@edwinjosechittilappilly edwinjosechittilappilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

News Aggregator Suggestion:
Add more details on how the Agent should draft the query.
May be like a few shot/ one short prompting.

Also give an example input in notes.

Copy link
Collaborator

@edwinjosechittilappilly edwinjosechittilappilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Price Deal Finder : Good Template

Please update with latest components.
Also I would suggest not to overlap notes and chat input/ any component.
Screenshot 2025-02-12 at 12 44 31 PM

@edwinjosechittilappilly
Copy link
Collaborator

Research agent Suggestion: use chat input and chat output: updated components (in minimized mode).

General suggestion:
Add prompts so the agent can understand how to generate query input for the agent component.
Good Examples
Thank you for the PR.

@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 12, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 14, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 14, 2025
Copy link
Collaborator

@mendonk mendonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed changes to Price Deal and News aggregator, approved

@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 14, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 14, 2025
Copy link
Collaborator

@edwinjosechittilappilly edwinjosechittilappilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update Pr with only News aggregator other templates we can have in follow up PR.

@dosubot dosubot bot removed the lgtm This PR has been approved by a maintainer label Feb 14, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 14, 2025
Copy link
Collaborator

@edwinjosechittilappilly edwinjosechittilappilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 14, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 14, 2025
@edwinjosechittilappilly
Copy link
Collaborator

@Cristhianzl @ogabrielluiz we ned this PR in release.
can you check why the frontend tests fails?

@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants