feat: apify starter template (#6784)
* add social media agent apify template * example default values, update starter template * revert package-lock.json * format * note-cleanup * [autofix.ci] apply automated fixes * updates to the components * update the agent component --------- Co-authored-by: Edwin Jose <edwin.jose@datastax.com> Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
8498b763be
commit
1249ea138c
5 changed files with 1966 additions and 3 deletions
|
|
@ -41,6 +41,7 @@ class ApifyActorsComponent(Component):
|
||||||
"Actor name from Apify store to run. For example 'apify/website-content-crawler' "
|
"Actor name from Apify store to run. For example 'apify/website-content-crawler' "
|
||||||
"to use the Website Content Crawler Actor."
|
"to use the Website Content Crawler Actor."
|
||||||
),
|
),
|
||||||
|
value="apify/website-content-crawler",
|
||||||
required=True,
|
required=True,
|
||||||
),
|
),
|
||||||
# multiline input is more pleasant to use than the nested dict input
|
# multiline input is more pleasant to use than the nested dict input
|
||||||
|
|
@ -51,7 +52,7 @@ class ApifyActorsComponent(Component):
|
||||||
'The JSON input for the Actor run. For example for the "apify/website-content-crawler" Actor: '
|
'The JSON input for the Actor run. For example for the "apify/website-content-crawler" Actor: '
|
||||||
'{"startUrls":[{"url":"https://docs.apify.com/academy/web-scraping-for-beginners"}],"maxCrawlDepth":0}'
|
'{"startUrls":[{"url":"https://docs.apify.com/academy/web-scraping-for-beginners"}],"maxCrawlDepth":0}'
|
||||||
),
|
),
|
||||||
value="{}",
|
value='{"startUrls":[{"url":"https://docs.apify.com/academy/web-scraping-for-beginners"}],"maxCrawlDepth":0}',
|
||||||
required=True,
|
required=True,
|
||||||
),
|
),
|
||||||
MultilineInput(
|
MultilineInput(
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
BIN
src/frontend/src/icons/Apify/apify_white.png
Normal file
BIN
src/frontend/src/icons/Apify/apify_white.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.3 KiB |
|
|
@ -1,8 +1,16 @@
|
||||||
import React, { forwardRef } from "react";
|
import React, { forwardRef } from "react";
|
||||||
import SvgApifyLogo from "./Apify";
|
import SvgApifyLogo from "./Apify";
|
||||||
|
import ApifyWhiteImage from "./apify_white.png";
|
||||||
|
|
||||||
export const ApifyIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
|
export const ApifyIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
|
||||||
(props, ref) => {
|
(props, ref) => {
|
||||||
return <SvgApifyLogo ref={ref} {...props} />;
|
return <SvgApifyLogo ref={ref} {...props} />;
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
export const ApifyWhiteIcon = forwardRef<
|
||||||
|
SVGSVGElement,
|
||||||
|
React.PropsWithChildren<{}>
|
||||||
|
>((props, ref) => {
|
||||||
|
return <img src={ApifyWhiteImage} alt="Apify White Logo" {...props} />;
|
||||||
|
});
|
||||||
|
|
|
||||||
|
|
@ -241,7 +241,7 @@ import { AWSIcon } from "../icons/AWS";
|
||||||
import { AgentQLIcon } from "../icons/AgentQL";
|
import { AgentQLIcon } from "../icons/AgentQL";
|
||||||
import { AirbyteIcon } from "../icons/Airbyte";
|
import { AirbyteIcon } from "../icons/Airbyte";
|
||||||
import { AnthropicIcon } from "../icons/Anthropic";
|
import { AnthropicIcon } from "../icons/Anthropic";
|
||||||
import { ApifyIcon } from "../icons/Apify";
|
import { ApifyIcon, ApifyWhiteIcon } from "../icons/Apify";
|
||||||
import { ArXivIcon } from "../icons/ArXiv";
|
import { ArXivIcon } from "../icons/ArXiv";
|
||||||
import { ArizeIcon } from "../icons/Arize";
|
import { ArizeIcon } from "../icons/Arize";
|
||||||
import { AssemblyAIIcon } from "../icons/AssemblyAI";
|
import { AssemblyAIIcon } from "../icons/AssemblyAI";
|
||||||
|
|
@ -523,7 +523,6 @@ export const SIDEBAR_CATEGORIES = [
|
||||||
];
|
];
|
||||||
|
|
||||||
export const SIDEBAR_BUNDLES = [
|
export const SIDEBAR_BUNDLES = [
|
||||||
// Add apify
|
|
||||||
{ display_name: "Apify", name: "apify", icon: "Apify" },
|
{ display_name: "Apify", name: "apify", icon: "Apify" },
|
||||||
{ display_name: "LangChain", name: "langchain_utilities", icon: "LangChain" },
|
{ display_name: "LangChain", name: "langchain_utilities", icon: "LangChain" },
|
||||||
{ display_name: "AgentQL", name: "agentql", icon: "AgentQL" },
|
{ display_name: "AgentQL", name: "agentql", icon: "AgentQL" },
|
||||||
|
|
@ -749,6 +748,7 @@ export const nodeIconsLucide: iconsType = {
|
||||||
Wikipedia: WikipediaIcon,
|
Wikipedia: WikipediaIcon,
|
||||||
Arize: ArizeIcon,
|
Arize: ArizeIcon,
|
||||||
Apify: ApifyIcon,
|
Apify: ApifyIcon,
|
||||||
|
ApifyWhite: ApifyWhiteIcon,
|
||||||
|
|
||||||
//Node Icons
|
//Node Icons
|
||||||
model_specs: FileSliders,
|
model_specs: FileSliders,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue