Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

182 changes: 182 additions & 0 deletions packages/pieces/community/asknews/src/i18n/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
{
"AskNews piece allows you to search and retrieve enriched real-time and historical news articles using AskNews API.": "AskNews piece allows you to search and retrieve enriched real-time and historical news articles using AskNews API.",
"\nTo obtain your AskNews API key:\n\n1. Visit [AskNews](https://asknews.app)\n2. Sign up or log in to your account\n3. Click on your profile and navigate to 'Settings' > 'API Credentials'\n4. Generate a new API key\n5. Copy and paste the key here\n": "\nTo obtain your AskNews API key:\n\n1. Visit [AskNews](https://asknews.app)\n2. Sign up or log in to your account\n3. Click on your profile and navigate to 'Settings' > 'API Credentials'\n4. Generate a new API key\n5. Copy and paste the key here\n",
"Search News": "Search News",
"Generate News Knowledge Graph": "Generate News Knowledge Graph",
"Get Article by ID": "Get Article by ID",
"Chat Completion": "Chat Completion",
"Search Stories (Narrative Clusters)": "Search Stories (Narrative Clusters)",
"Create a Newsletter": "Create a Newsletter",
"Update a Newsletter": "Update a Newsletter",
"Custom API Call": "Custom API Call",
"Search for enriched real-time news articles from the past 48 hours or historical archive": "Search for enriched real-time news articles from the past 48 hours or historical archive",
"Build a custom mega-news-knowledge graph with fully disambiguated entities and relationships": "Build a custom mega-news-knowledge graph with fully disambiguated entities and relationships",
"Retrieve a single article or multiple articles by their UUID(s)": "Retrieve a single article or multiple articles by their UUID(s)",
"Get chat completions from a news-infused AI assistant powered by OpenAI API": "Get chat completions from a news-infused AI assistant powered by OpenAI API",
"Filter and search for top news narratives and story clusters": "Filter and search for top news narratives and story clusters",
"Create an automated newsletter powered by news and AI": "Create an automated newsletter powered by news and AI",
"Update an existing automated newsletter": "Update an existing automated newsletter",
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
"Query": "Query",
"Number of Articles": "Number of Articles",
"Search Method": "Search Method",
"Return Type": "Return Type",
"Search Historical Archive": "Search Historical Archive",
"Hours Back": "Hours Back",
"Categories": "Categories",
"Similarity Score Threshold": "Similarity Score Threshold",
"Return Articles": "Return Articles",
"Min Cluster Probability": "Min Cluster Probability",
"Geo Disambiguation": "Geo Disambiguation",
"Query Method": "Query Method",
"Search Historical": "Search Historical",
"Visualize With": "Visualize With",
"Article ID(s)": "Article ID(s)",
"User Message": "User Message",
"Model": "Model",
"Temperature": "Temperature",
"Max Tokens": "Max Tokens",
"Journalist Mode": "Journalist Mode",
"Inline Citations": "Inline Citations",
"Append References": "Append References",
"Include AskNews Watermark": "Include AskNews Watermark",
"Conversational Awareness": "Conversational Awareness",
"System Prompt": "System Prompt",
"Expand Updates": "Expand Updates",
"Sort By": "Sort By",
"Newsletter Name": "Newsletter Name",
"Cron Schedule": "Cron Schedule",
"Sender Email": "Sender Email",
"Subject": "Subject",
"Logo URL": "Logo URL",
"Reply-To Email": "Reply-To Email",
"Audience ID": "Audience ID",
"Resend API Key": "Resend API Key",
"Is Public": "Is Public",
"Is Active": "Is Active",
"Expiration Date": "Expiration Date",
"Newsletter ID": "Newsletter ID",
"Method": "Method",
"Headers": "Headers",
"Query Parameters": "Query Parameters",
"Body Type": "Body Type",
"Body": "Body",
"Response is Binary ?": "Response is Binary ?",
"No Error on Failure": "No Error on Failure",
"Timeout (in seconds)": "Timeout (in seconds)",
"Follow redirects": "Follow redirects",
"Search query - can be a phrase, keyword, question, or paragraph. Leave empty to search by filters only.": "Search query - can be a phrase, keyword, question, or paragraph. Leave empty to search by filters only.",
"Number of articles to return": "Number of articles to return",
"Search method to use. \"kw\" for keyword matching, \"nl\" for semantic/natural language search, \"both\" for hybrid": "Search method to use. \"kw\" for keyword matching, \"nl\" for semantic/natural language search, \"both\" for hybrid",
"Format of returned articles. \"string\" is prompt-optimized, \"dicts\" is structured data, \"both\" returns both": "Format of returned articles. \"string\" is prompt-optimized, \"dicts\" is structured data, \"both\" returns both",
"Search in historical archive (60+ days back) instead of just recent news (48 hours)": "Search in historical archive (60+ days back) instead of just recent news (48 hours)",
"Number of hours back to search from current time. Defaults to 24.": "Number of hours back to search from current time. Defaults to 24.",
"Filter articles by news categories": "Filter articles by news categories",
"Minimum similarity score (0-1) for results. Lower = more lenient matches.": "Minimum similarity score (0-1) for results. Lower = more lenient matches.",
"Natural language query for building the graph": "Natural language query for building the graph",
"Include articles in the response": "Include articles in the response",
"Minimum cluster probability for disambiguation (0-1)": "Minimum cluster probability for disambiguation (0-1)",
"Use geographic disambiguation for entities": "Use geographic disambiguation for entities",
"Search method for the query": "Search method for the query",
"Number of articles to use for building the graph": "Number of articles to use for building the graph",
"Search historical archive instead of recent news": "Search historical archive instead of recent news",
"Number of hours back to search": "Number of hours back to search",
"Filter by news categories": "Filter by news categories",
"Request a visualization format (e.g., mermaid, svg)": "Request a visualization format (e.g., mermaid, svg)",
"One or more article UUIDs to fetch.": "One or more article UUIDs to fetch.",
"The user message to send to the chat model": "The user message to send to the chat model",
"The model to use for chat completion": "The model to use for chat completion",
"Sampling temperature (0-2, higher = more creative)": "Sampling temperature (0-2, higher = more creative)",
"Maximum number of tokens in response": "Maximum number of tokens in response",
"Activate AP styling, citations, and fair reporting prompting": "Activate AP styling, citations, and fair reporting prompting",
"How to format citations in results": "How to format citations in results",
"Append full references at the end": "Append full references at the end",
"Include AskNews branding in response": "Include AskNews branding in response",
"Enable context awareness for conversational flow": "Enable context awareness for conversational flow",
"Optional custom system prompt for the model": "Optional custom system prompt for the model",
"Natural language or keyword query for search": "Natural language or keyword query for search",
"nl: semantic search, kw: keyword search, both: combined": "nl: semantic search, kw: keyword search, both: combined",
"Filter stories by categories": "Filter stories by categories",
"Include story updates in results": "Include story updates in results",
"Sort results by field": "Sort results by field",
"Name of the newsletter": "Name of the newsletter",
"Natural language query to define newsletter content": "Natural language query to define newsletter content",
"Cron expression for newsletter schedule (e.g., \"0 0 * * *\" for daily at midnight UTC)": "Cron expression for newsletter schedule (e.g., \"0 0 * * *\" for daily at midnight UTC)",
"AI model to use for newsletter generation": "AI model to use for newsletter generation",
"Email address of the newsletter sender": "Email address of the newsletter sender",
"Newsletter email subject (auto-generated if not provided)": "Newsletter email subject (auto-generated if not provided)",
"URL of the newsletter logo": "URL of the newsletter logo",
"Email address for replies (defaults to sender if not provided)": "Email address for replies (defaults to sender if not provided)",
"Existing audience ID (creates new audience if not provided)": "Existing audience ID (creates new audience if not provided)",
"API key for Resend email service (required to send newsletter)": "API key for Resend email service (required to send newsletter)",
"Make newsletter publicly discoverable": "Make newsletter publicly discoverable",
"Activate the newsletter immediately": "Activate the newsletter immediately",
"Newsletter expiration date (ISO format: YYYY-MM-DDTHH:MM:SS)": "Newsletter expiration date (ISO format: YYYY-MM-DDTHH:MM:SS)",
"UUID of the newsletter to update": "UUID of the newsletter to update",
"Newsletter email subject": "Newsletter email subject",
"Email address for replies": "Email address for replies",
"Audience ID for the newsletter": "Audience ID for the newsletter",
"API key for Resend email service": "API key for Resend email service",
"Activate or deactivate the newsletter": "Activate or deactivate the newsletter",
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
"Keyword (kw)": "Keyword (kw)",
"Natural Language (nl)": "Natural Language (nl)",
"Both (kw + nl)": "Both (kw + nl)",
"String (prompt-optimized)": "String (prompt-optimized)",
"Dicts (structured)": "Dicts (structured)",
"Both": "Both",
"Business": "Business",
"Crime": "Crime",
"Politics": "Politics",
"Science": "Science",
"Sports": "Sports",
"Technology": "Technology",
"Military": "Military",
"Health": "Health",
"Entertainment": "Entertainment",
"Finance": "Finance",
"Culture": "Culture",
"Climate": "Climate",
"Environment": "Environment",
"World": "World",
"Keyword": "Keyword",
"Natural Language": "Natural Language",
"GPT-4o": "GPT-4o",
"GPT-4o Mini": "GPT-4o Mini",
"GPT-4.1": "GPT-4.1",
"Claude 3.5 Sonnet": "Claude 3.5 Sonnet",
"Markdown Links": "Markdown Links",
"Numbered": "Numbered",
"None": "None",
"Economy": "Economy",
"International": "International",
"Published Date": "Published Date",
"Coverage": "Coverage",
"Sentiment": "Sentiment",
"Relevance": "Relevance",
"Meta Llama 3.1 405B": "Meta Llama 3.1 405B",
"Meta Llama 3.3 70B": "Meta Llama 3.3 70B",
"GET": "GET",
"POST": "POST",
"PATCH": "PATCH",
"PUT": "PUT",
"DELETE": "DELETE",
"HEAD": "HEAD",
"JSON": "JSON",
"Form Data": "Form Data",
"Raw": "Raw",
"Alert for Query": "Alert for Query",
"Trigger when a new alert is created for a specific news query": "Trigger when a new alert is created for a specific news query",
"Alert Query": "Alert Query",
"Always Trigger": "Always Trigger",
"Repeat": "Repeat",
"Alert Title": "Alert Title",
"Query to monitor (e.g., \"I want to be alerted if there is a protest in paris\")": "Query to monitor (e.g., \"I want to be alerted if there is a protest in paris\")",
"Cron schedule for alert checks (5-7 fields, e.g., \"0 * * * *\" for every hour, or \"0 0 * * * America/New_York\")": "Cron schedule for alert checks (5-7 fields, e.g., \"0 * * * *\" for every hour, or \"0 0 * * * America/New_York\")",
"AI model to use for alert checking": "AI model to use for alert checking",
"Skip alert check and trigger immediately on schedule": "Skip alert check and trigger immediately on schedule",
"Repeat alert after each trigger (disable for one-time alert)": "Repeat alert after each trigger (disable for one-time alert)",
"Optional title for the alert": "Optional title for the alert",
"Llama 3.1 8B": "Llama 3.1 8B"
}
2 changes: 1 addition & 1 deletion packages/pieces/community/common/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@activepieces/pieces-common",
"version": "0.11.3",
"version": "0.11.4",
"type": "commonjs"
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class AxiosHttpClient extends BaseHttpClient {
axiosClient?: AxiosInstance
): Promise<HttpResponse<ResponseBody>> {
try {
const axiosInstance = axiosClient || axios;
const axiosInstance = axiosClient || axios.create();
process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = '0';
const { urlWithoutQueryParams, queryParams: urlQueryParams } =
this.getUrl(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@
"Add/Subtract Time": "Add/Subtract Time",
"Next Day of Week": "Next Day of Week",
"Next Day of Year": "Next Day of Year",
"First Day of Previous Month": "First Day of Previous Month",
"Last Day of Previous Month": "Last Day of Previous Month",
"Get the current date": "Get the current date",
"Converts a date from one format to another": "Converts a date from one format to another",
"Extract date units ( year , month , day , hour , minute , second , day of week , month name ) from a date": "Extract date units ( year , month , day , hour , minute , second , day of week , month name ) from a date",
"Get the difference between two dates": "Get the difference between two dates",
"Add or subtract time from a date": "Add or subtract time from a date",
"Get the date and time of the next day of the week": "Get the date and time of the next day of the week",
"Get the date and time of the next day of the year": "Get the date and time of the next day of the year",
"Get the date and time of the first day of the previous month": "Get the date and time of the first day of the previous month",
"Get the date and time of the last day of the previous month": "Get the date and time of the last day of the previous month",
"To Time Format": "To Time Format",
"Time Zone": "Time Zone",
"Input Date": "Input Date",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@
"Select MIME Types": "Select MIME Types",
"Files": "Files",
"Name of zipped file": "Name of zipped file",
"Use password": "Use password",
"Password options": "Password options",
"Zip File": "Zip File",
"Max Results": "Max Results",
"The output format": "The output format",
"Choose one or more MIME types to check against the file.": "Choose one or more MIME types to check against the file.",
"Enable password protection for the zip file": "Enable password protection for the zip file",
"\nThrow an error if zip file has more than expected entries.\n- This is a safe measure when working with untrusted zip files.\n- Exclude this field or set to 0 to skip this check.\n": "\nThrow an error if zip file has more than expected entries.\n- This is a safe measure when working with untrusted zip files.\n- Exclude this field or set to 0 to skip this check.\n",
"Enable if the zip file is password protected": "Enable if the zip file is password protected",
"Text": "Text",
"Base64": "Base64",
"ASCII": "ASCII",
Expand Down
Loading
Loading