Skip to content

Commit 46d5e57

Browse files
authored
Merge branch 'main' into confluence_loader_flexible_att_parser
2 parents f2abc3c + 36b1f84 commit 46d5e57

File tree

250 files changed

+4043
-3010
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+4043
-3010
lines changed

.editorconfig

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
# All files
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
# Python files
12+
[*.py]
13+
indent_style = space
14+
indent_size = 4
15+
max_line_length = 88
16+
17+
# JSON files
18+
[*.json]
19+
indent_style = space
20+
indent_size = 2
21+
22+
# YAML files
23+
[*.{yml,yaml}]
24+
indent_style = space
25+
indent_size = 2
26+
27+
# Markdown files
28+
[*.md]
29+
indent_style = space
30+
indent_size = 2
31+
trim_trailing_whitespace = false
32+
33+
# Configuration files
34+
[*.{toml,ini,cfg}]
35+
indent_style = space
36+
indent_size = 4
37+
38+
# Shell scripts
39+
[*.sh]
40+
indent_style = space
41+
indent_size = 2
42+
43+
# Makefile
44+
[Makefile]
45+
indent_style = tab
46+
indent_size = 4
47+
48+
# Jupyter notebooks
49+
[*.ipynb]
50+
# Jupyter may include trailing whitespace in cell
51+
# outputs that's semantically meaningful
52+
trim_trailing_whitespace = false

.github/CODE_OF_CONDUCT.md

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, caste, color, religion, or sexual
10+
identity and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the overall
26+
community
27+
28+
Examples of unacceptable behavior include:
29+
30+
* The use of sexualized language or imagery, and sexual attention or advances of
31+
any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or email address,
35+
without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement Responsibilities
40+
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
45+
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
50+
51+
## Scope
52+
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
58+
59+
## Enforcement
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
## Enforcement Guidelines
70+
71+
Community leaders will follow these Community Impact Guidelines in determining
72+
the consequences for any action they deem in violation of this Code of Conduct:
73+
74+
### 1. Correction
75+
76+
**Community Impact**: Use of inappropriate language or other behavior deemed
77+
unprofessional or unwelcome in the community.
78+
79+
**Consequence**: A private, written warning from community leaders, providing
80+
clarity around the nature of the violation and an explanation of why the
81+
behavior was inappropriate. A public apology may be requested.
82+
83+
### 2. Warning
84+
85+
**Community Impact**: A violation through a single incident or series of
86+
actions.
87+
88+
**Consequence**: A warning with consequences for continued behavior. No
89+
interaction with the people involved, including unsolicited interaction with
90+
those enforcing the Code of Conduct, for a specified period of time. This
91+
includes avoiding interactions in community spaces as well as external channels
92+
like social media. Violating these terms may lead to a temporary or permanent
93+
ban.
94+
95+
### 3. Temporary Ban
96+
97+
**Community Impact**: A serious violation of community standards, including
98+
sustained inappropriate behavior.
99+
100+
**Consequence**: A temporary ban from any sort of interaction or public
101+
communication with the community for a specified period of time. No public or
102+
private interaction with the people involved, including unsolicited interaction
103+
with those enforcing the Code of Conduct, is allowed during this period.
104+
Violating these terms may lead to a permanent ban.
105+
106+
### 4. Permanent Ban
107+
108+
**Community Impact**: Demonstrating a pattern of violation of community
109+
standards, including sustained inappropriate behavior, harassment of an
110+
individual, or aggression toward or disparagement of classes of individuals.
111+
112+
**Consequence**: A permanent ban from any sort of public interaction within the
113+
community.
114+
115+
## Attribution
116+
117+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118+
version 2.1, available at
119+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
120+
121+
Community Impact Guidelines were inspired by
122+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
123+
124+
For answers to common questions about this code of conduct, see the FAQ at
125+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126+
[https://www.contributor-covenant.org/translations][translations].
127+
128+
[homepage]: https://www.contributor-covenant.org
129+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130+
[Mozilla CoC]: https://github.com/mozilla/diversity
131+
[FAQ]: https://www.contributor-covenant.org/faq
132+
[translations]: https://www.contributor-covenant.org/translations

.github/CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Contributing to LangChain
2+
3+
Hi there! Thank you for even being interested in contributing to LangChain.
4+
As an open-source project in a rapidly developing field, we are extremely open to contributions, whether they involve new features, improved infrastructure, better documentation, or bug fixes.
5+
6+
To learn how to contribute to LangChain, please follow the [contribution guide here](https://docs.langchain.com/oss/python/contributing).
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
name: "\U0001F41B Bug Report"
2+
description: Report a bug in LangChain Community. To report a security issue, please instead use the security option below. For questions, please use the LangChain forum.
3+
labels: ["bug"]
4+
type: bug
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thank you for taking the time to file a bug report.
10+
11+
Use this to report BUGS in LangChain Community. For usage questions, feature requests and general design questions, please use the [LangChain Forum](https://forum.langchain.com/).
12+
13+
Relevant links to check before filing a bug report to see if your issue has already been reported, fixed or
14+
if there's another way to solve your problem:
15+
16+
* [LangChain Forum](https://forum.langchain.com/),
17+
* [LangChain documentation with the integrated search](https://docs.langchain.com/oss/python/langchain/overview),
18+
* [API Reference](https://reference.langchain.com/python/),
19+
* [LangChain ChatBot](https://chat.langchain.com/)
20+
* [GitHub search](https://github.com/langchain-ai/langchain-community),
21+
- type: checkboxes
22+
id: checks
23+
attributes:
24+
label: Checked other resources
25+
description: Please confirm and check all the following options.
26+
options:
27+
- label: This is a bug, not a usage question.
28+
required: true
29+
- label: I added a clear and descriptive title that summarizes this issue.
30+
required: true
31+
- label: I used the GitHub search to find a similar question and didn't find it.
32+
required: true
33+
- label: I am sure that this is a bug in LangChain Community rather than my code.
34+
required: true
35+
- label: The bug is not resolved by updating to the latest stable version of LangChain Community.
36+
required: true
37+
- label: I read what a minimal reproducible example is (https://stackoverflow.com/help/minimal-reproducible-example).
38+
required: true
39+
- label: I posted a self-contained, minimal, reproducible example. A maintainer can copy it and run it AS IS.
40+
required: true
41+
- type: textarea
42+
id: reproduction
43+
validations:
44+
required: true
45+
attributes:
46+
label: Example Code
47+
description: |
48+
Please add a self-contained, [minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example) with your use case.
49+
50+
If a maintainer can copy it, run it, and see it right away, there's a much higher chance that you'll be able to get help.
51+
52+
**Important!**
53+
54+
* Avoid screenshots when possible, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code.
55+
* Reduce your code to the minimum required to reproduce the issue if possible. This makes it much easier for others to help you.
56+
* Use code tags (e.g., ```python ... ```) to correctly [format your code](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting).
57+
* INCLUDE the language label (e.g. `python`) after the first three backticks to enable syntax highlighting. (e.g., ```python rather than ```).
58+
59+
placeholder: |
60+
The following code:
61+
62+
```python
63+
from langchain_core.runnables import RunnableLambda
64+
65+
def bad_code(inputs) -> int:
66+
raise NotImplementedError('For demo purpose')
67+
68+
chain = RunnableLambda(bad_code)
69+
chain.invoke('Hello!')
70+
```
71+
- type: textarea
72+
id: error
73+
validations:
74+
required: false
75+
attributes:
76+
label: Error Message and Stack Trace (if applicable)
77+
description: |
78+
If you are reporting an error, please include the full error message and stack trace.
79+
placeholder: |
80+
Exception + full stack trace
81+
- type: textarea
82+
id: description
83+
attributes:
84+
label: Description
85+
description: |
86+
What is the problem, question, or error?
87+
88+
Write a short description telling what you are doing, what you expect to happen, and what is currently happening.
89+
placeholder: |
90+
* I'm trying to use the `langchain-community` library to do X.
91+
* I expect to see Y.
92+
* Instead, it does Z.
93+
validations:
94+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
blank_issues_enabled: false
2+
version: 2.1
3+
contact_links:
4+
- name: 📚 Documentation
5+
url: https://github.com/langchain-ai/docs/issues/new?template=01-langchain.yml
6+
about: Report an issue related to the LangChain documentation
7+
- name: 💬 LangChain Forum
8+
url: https://forum.langchain.com/
9+
about: General community discussions and support

0 commit comments

Comments
 (0)