Skip to content

Commit 81abecd

Browse files
authored
docs: fix example URLs in the actor monorepos (plus some minor changes) (#996)
1 parent 41f8f5d commit 81abecd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sources/platform/actors/development/deployment/source_types.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ To obtain the key click at the **deployment key** link under the **Git URL** tex
4646

4747
By default, the context directory for the Docker build is the directory pointed to by the **Git URL** (or the repository root if no directory is specified). If you want to use a different directory for the Docker context, you can use the `dockerContextDir` property in the [Actor definition](../actor_definition/actor_json.md). This is useful for sharing code between multiple Actors in the same repository.
4848

49-
If you want to have multiple Actors in a single repository using shared code also located in the repository, you can set `dockerContextDir` to the path to the folder which contains the Actor's source and the shared code, and then copy both the Actor's source and shared code to the Docker image in the Dockerfile.
49+
If you want to have multiple Actors in a single repository using shared code also located in the repository, you can set `dockerContextDir` to the path to the folder which contains the Actor's source and the shared code, and then, in the Dockerfile, copy both the Actor's source and the shared code into the Docker image.
5050

51-
To enable sharing Dockerfiles between mutliple Actors, the Actor build process passes the `ACTOR_PATH_IN_DOCKER_CONTEXT` build arg to the Docker build.
51+
To enable sharing Dockerfiles between multiple Actors, the Actor build process passes the `ACTOR_PATH_IN_DOCKER_CONTEXT` build arg to the Docker build.
5252
It contains the relative path from `dockerContextDir` to the directory selected as the root of the Actor in the Apify Console (the "directory" part of the Actor's git URL).
5353

54-
An example Actor monorepo is shown in the [`apify/actor-monorepo-example`](https://github.com/apify/actor-monorepo-example) repository. To build Actors from this monorepo, you would set the source URL to `https://github.com/apify/actor-monorepo-example#main:actor_1` and `https://github.com/apify/actor-monorepo-example#main:actor_2` respectively.
54+
An example Actor monorepo is shown in the [`apify/actor-monorepo-example`](https://github.com/apify/actor-monorepo-example) repository. To build Actors from this monorepo, you would set the source URL (including branch name and folder) as `https://github.com/apify/actor-monorepo-example#main:actors/javascript-actor` and `https://github.com/apify/actor-monorepo-example#main:actors/typescript-actor` respectively.
5555

5656
## [](#zip-file)Zip file
5757

sources/platform/integrations/langchain.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ slug: /integrations/langchain
1010

1111
---
1212

13-
> For more information on LangChain visit its [documentation](https://python.langchain.com/en/latest/index.html).
13+
> For more information on LangChain visit its [documentation](https://python.langchain.com).
1414
1515
In this example, we'll use the [Website Content Crawler](https://apify.com/apify/website-content-crawler) Actor, which can deeply crawl websites such as documentation, knowledge bases, help centers, or blogs and extract text content from the web pages.
1616
Then we feed the documents into a vector index and answer questions from it.
@@ -111,7 +111,7 @@ After running the code, you should see the following output:
111111
```text
112112
LangChain is a framework for developing applications powered by language models. It provides standard, extendable interfaces, external integrations, and end-to-end implementations for off-the-shelf use. It also integrates with other LLMs, systems, and products to create a vibrant and thriving ecosystem.
113113
114-
https://python.langchain.com/en/latest/
114+
https://python.langchain.com
115115
```
116116

117117
LangChain is a standard interface through which you can interact with a variety of large language models (LLMs). It provides modules you can use to build language model applications. It also provides chains and agents with memory capabilities.

0 commit comments

Comments
 (0)