You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/oss/contributing/code.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Contributing to code
3
3
sidebarTitle: Code
4
4
---
5
5
6
-
Code contributions are always welcome! Whether you're fixing bugs, adding features, or improving performance, your contributions help deliver a better developer experience for thousands of developers.
6
+
Code contributions are welcome! Whether you're fixing bugs, adding features, or improving performance, your contributions help deliver a better developer experience for thousands of developers.
7
7
8
8
## Getting started
9
9
@@ -384,7 +384,7 @@ Once you've reviewed the [contribution guidelines](#contribution-guidelines), fi
384
384
<AccordionGroup>
385
385
<Accordiontitle="Core packages"defaultOpen>
386
386
-**[`deepagents`](https://github.com/langchain-ai/deepagents/tree/main/libs/deepagents#readme)** (located in `libs/deepagents/`): Core framework for building deep agents with planning, filesystem, and subagent capabilities
387
-
- **[`deepagents-cli`](https://github.com/langchain-ai/deepagents/tree/main/libs/deepagents-cli#readme)** (located in `libs/deepagents-cli/`): Interactive terminal interface with conversation resume, web search, and sandboxes
387
+
- **[`deepagents-cli`](https://github.com/langchain-ai/deepagents/tree/main/libs/cli#readme)** (located in `libs/cli/`): Interactive terminal interface with conversation resume, web search, and sandboxes
Copy file name to clipboardExpand all lines: src/oss/contributing/implement-langchain.mdx
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,12 @@ Your integration package will typically implement a subclass of at least one of
14
14
Chat models are subclasses of the @[`BaseChatModel`] class. They implement methods for generating chat completions, handling message formatting, and managing model parameters.
15
15
16
16
<Warning>
17
-
The chat model integration guide is currently WIP. In the meantime, read the [chat model conceptual guide](/oss/langchain/models) for details on how LangChain chat models function.
17
+
:::python
18
+
The chat model integration guide is currently WIP. In the meantime, read the [chat model conceptual guide](/oss/langchain/models) for details on how LangChain chat models function. You may also refer to existing integrations in the [LangChain repo](https://github.com/langchain-ai/langchain/tree/master/libs/partners)
19
+
:::
20
+
:::js
21
+
The chat model integration guide is currently WIP. In the meantime, read the [chat model conceptual guide](/oss/langchain/models) for details on how LangChain chat models function. You may also refer to existing integrations in the [LangChain repo](https://github.com/langchain-ai/langchainjs/tree/main/libs/providers)
Copy file name to clipboardExpand all lines: src/oss/contributing/integrations-langchain.mdx
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,12 @@ sidebarTitle: Guide
5
5
6
6
**Integrations are a core component of LangChain.**
7
7
8
-
LangChain provides standard interfaces for several different components (language models, vector stores, etc) that are crucial when building LLM applications. Contributing an integration helps expand LangChain's ecosystem and makes your service discoverable to millions of developers.
8
+
LangChain provides standard interfaces for several different components (language models, vector stores, etc) that are crucial when building LLM applications. Implementing a new integration helps expand LangChain's ecosystem and makes your service discoverable to millions of developers.
9
9
10
-
## Why contribute an integration to LangChain?
10
+
## Why implement a LangChain integration?
11
11
12
12
<Cardtitle="Discoverability"icon="search">
13
-
LangChain is the most used framework for building LLM applications, with over 20 million monthly downloads.
13
+
LangChain is the most used framework for building LLM applications, with over 200 million monthly downloads.
14
14
</Card>
15
15
16
16
<Cardtitle="Interoperability"icon="refresh">
@@ -26,6 +26,7 @@ LangChain provides standard interfaces for several different components (languag
26
26
While any component can be integrated into LangChain, there are specific types of integrations we encourage more:
27
27
28
28
**Integrate these ✅**:
29
+
29
30
-[**Chat Models**](/oss/integrations/chat): Most actively used component type
Copy file name to clipboardExpand all lines: src/oss/contributing/overview.mdx
+17-18Lines changed: 17 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ LangChain has helped form the largest developer community in generative AI, and
40
40
</Step>
41
41
</Steps>
42
42
43
-
If you are adding an issue, please try to keep it focused on a single topic. If two issues are related, or blocking, please [link them](https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) rather than combining them. For example,
43
+
If you are adding an issue, please try to keep it focused on a single topic. If two issues are related, or blocking, please [link them](https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) rather than combining them. For example:
44
44
45
45
```text
46
46
This issue is blocked by #123 and related to #456.
@@ -70,12 +70,7 @@ LangChain has helped form the largest developer community in generative AI, and
70
70
:::
71
71
</Step>
72
72
<Steptitle="Discuss">
73
-
:::python
74
-
If no requests exist, start a new discussion under the [relevant category](https://forum.langchain.com/c/help/langchain/14) so that project maintainers and the community can provide feedback.
75
-
:::
76
-
:::js
77
-
If no requests exist, start a new discussion under the [relevant category](https://forum.langchain.com/c/help/langchain/13) so that project maintainers and the community can provide feedback.
78
-
:::
73
+
If no requests exist, start a new discussion under the [relevant category](https://forum.langchain.com/c/oss-product-help-lc-and-lg/16) so that project maintainers and the community can provide feedback.
79
74
</Step>
80
75
<Steptitle="Describe">
81
76
Be sure to describe the use case and why it would be valuable to others. If possible, provide examples or mockups where applicable. Outline test cases that should pass.
@@ -84,7 +79,7 @@ LangChain has helped form the largest developer community in generative AI, and
@@ -123,10 +118,14 @@ LangChain has helped form the largest developer community in generative AI, and
123
118
124
119
Generative AI can be a useful tool for contributors, but like any tool should be used with critical thinking and good judgement.
125
120
126
-
We encourage contributors to use AI tools efficiently where they help. However, AI assistance must be paired with meaningful human intervention, judgement, and contextual understanding. **If the human effort required to create a pull request is less than the effort required for maintainers to review it, that contribution should not be submitted.**
121
+
AI assistance must be paired with meaningful human intervention, judgement, and contextual understanding. **If the human effort required to create a pull request is less than the effort required for maintainers to review it, that contribution should not be submitted.**
122
+
123
+
We struggle when contributors' entire work (code changes, documentation updates, pull request descriptions) are LLM-generated. These drive-by contributions often mean well but miss the mark in terms of contextual relevance, accuracy, and quality. Mass automated contributions represent a denial-of-service attack on our human effort.
127
124
128
-
We struggle when contributors' entire work (code changes, documentation updates, pull request descriptions) are LLM-generated. These drive-by contributions often mean well but miss the mark in terms of contextual relevance, accuracy, and quality. Mass automated contributions like these represent a denial-of-service attack on our human effort.
125
+
The following guidelines must be met for Pull Requests that include AI-generated content:
129
126
130
-
**We will close pull requests and issues that appear to be low-effort, AI-generated spam.**
127
+
* The Pull Request must fill in the repository's pull request template.
128
+
* The Pull Request must identify itself as AI generated, including the name of the agent used.
129
+
* The Pull Request must link to a issue or discussion where a solution has been approved by a maintainer.
131
130
132
-
With great tools comes great responsibility.
131
+
The maintainer reserves the right to close PRs without comment if the above are not met. **We will close pull requests and issues that appear to be low-effort, AI-generated spam.**
0 commit comments