feat: add apify actors integration (#5862)
* initial apify actor component version * clean code mess * add apify integrations docs page, manual tests protocol, remove temp scripts * fix lint type issue * fix lint and format issues * rename run_actor.py to apify_actor.py * actor -> Actor * update component description and docs link * add wcc link * refactor _get_actor_input_schema_from_build * actor_input -> run_input * refactor - make suitable methods static * static methods remove _ before name, docs actor_input -> run_input * update docs image * improve docs * fix typos, rename test .md to run_actor.md * remove the actor link, that is not clickable * rename ApifyRunActor -> ApifyActors, improve docs * code refactor, added concrete examples * take input_schema arg instead of build * fix typo * add custom user-agent * remove beta label * Update docs/docs/Integrations/Apify/integrations-apify.md Co-authored-by: Jiří Spilka <jiri.spilka@apify.com> * toolify_actor_id_str -> actor_id_to_tool_name * add simple flow example withtou an agent, removed actor list, added simple how to * fix typos * improve how-to section * remove usege from the component section * improve example flows section * remove unnecessary sentence * format * fix submodel serialization * LCToolComponent -> Component * flatten output remove question mark * add actor run logs to component logs * fix grammar, typos and docstrings * [autofix.ci] apply automated fixes --------- Co-authored-by: Jiří Spilka <jiri.spilka@apify.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
This commit is contained in:
parent
69df913a14
commit
b43bf8f783
14 changed files with 486 additions and 0 deletions
25
uv.lock
generated
25
uv.lock
generated
|
|
@ -228,6 +228,29 @@ wheels = [
|
|||
{ url = "https://files.pythonhosted.org/packages/a0/7a/4daaf3b6c08ad7ceffea4634ec206faeff697526421c20f07628c7372156/anyio-4.7.0-py3-none-any.whl", hash = "sha256:ea60c3723ab42ba6fff7e8ccb0488c898ec538ff4df1f1d5e642c3601d07e352", size = 93052 },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "apify-client"
|
||||
version = "1.8.1"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
dependencies = [
|
||||
{ name = "apify-shared" },
|
||||
{ name = "httpx" },
|
||||
{ name = "more-itertools" },
|
||||
]
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/9c/d7/37d955bff90f6dfc353642e4b4075db3dd9abf8f5111ed35152be3dfc3da/apify_client-1.8.1.tar.gz", hash = "sha256:2be1be7879570655bddeebf126833efe94cabb95b3755592845e92c20c70c674", size = 48422 }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/15/0b/42bb740ba9ff4cd540cc3c22687e3c07a823a5bdecb18a714de6df183a3a/apify_client-1.8.1-py3-none-any.whl", hash = "sha256:cfa6df3816c436204e37457fba28981a0ef6a7602cde372463f0f078eee64747", size = 73532 },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "apify-shared"
|
||||
version = "1.2.1"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/d5/12/3c6639116aba2b851b38bfcd5d81bb91f733f041c12c1d547028bd075a08/apify_shared-1.2.1.tar.gz", hash = "sha256:986557e2b01c584aa57258fb4af83d32ecb6979c0d804ccbfda7c0e79a2d00b1", size = 13597 }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/31/ff/9d60edc7602587a2e83f86687c2a1794d6ec7711599dbd0fb075e12d6abd/apify_shared-1.2.1-py3-none-any.whl", hash = "sha256:cee136729c41c215796d8ca9f7b2e5736995d44f9471663d61827d16f592df9b", size = 12404 },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "appdirs"
|
||||
version = "1.4.4"
|
||||
|
|
@ -4033,6 +4056,7 @@ source = { editable = "." }
|
|||
dependencies = [
|
||||
{ name = "ag2" },
|
||||
{ name = "aiofile" },
|
||||
{ name = "apify-client" },
|
||||
{ name = "arize-phoenix-otel" },
|
||||
{ name = "assemblyai" },
|
||||
{ name = "astra-assistants", extra = ["tools"] },
|
||||
|
|
@ -4191,6 +4215,7 @@ dev = [
|
|||
requires-dist = [
|
||||
{ name = "ag2", specifier = ">=0.1.0" },
|
||||
{ name = "aiofile", specifier = ">=3.9.0,<4.0.0" },
|
||||
{ name = "apify-client", specifier = ">=1.8.1" },
|
||||
{ name = "arize-phoenix-otel", specifier = ">=0.6.1" },
|
||||
{ name = "assemblyai", specifier = "==0.35.1" },
|
||||
{ name = "astra-assistants", extras = ["tools"], specifier = "~=2.2.9" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue