-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
fix: Rename AgentQL components and add prompt parameter #6834
base: main
Are you sure you want to change the base?
Conversation
@@ -14,32 +14,32 @@ | |||
|
|||
|
|||
class AgentQL(Component): | |||
display_name = "AgentQL Query Data" | |||
description = "Uses AgentQL API to extract structured data from a given URL." | |||
display_name = "AgentQL Extract Web Data" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
display_name = "AgentQL Extract Web Data" | |
display_name = "Extract Web Data" |
@@ -73,6 +73,7 @@ def build_output(self) -> Data: | |||
headers = { | |||
"X-API-Key": self.api_key, | |||
"Content-Type": "application/json", | |||
"X-TF-Request-Origin": "langflow", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rm
display_name = "AgentQL Query Data" | ||
description = "Uses AgentQL API to extract structured data from a given URL." | ||
display_name = "AgentQL Extract Web Data" | ||
description = "Extracts structured data from a web page using an AgentQL query or a Natural Language description." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description = "Extracts structured data from a web page using an AgentQL query or a Natural Language description." | |
description = "Extracts structured data from a web page using an AgentQL query." |
tool_mode=True, | ||
), | ||
MultilineInput( | ||
name="query", | ||
display_name="AgentQL Query", | ||
required=True, | ||
info="The AgentQL query to execute. Read more at https://docs.agentql.com/agentql-query.", | ||
info="The AgentQL query to execute. Learn more at https://docs.agentql.com/agentql-query or use a prompt.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
info="The AgentQL query to execute. Learn more at https://docs.agentql.com/agentql-query or use a prompt.", | |
info="The AgentQL query to execute. Learn more at https://docs.agentql.com/agentql-query.", |
This PR introduces the following changes