Skip to content

Commit

Permalink
Merge branch 'master' into chat-huggingface
Browse files Browse the repository at this point in the history
  • Loading branch information
minhna1112 authored Feb 15, 2024
2 parents c1f6277 + 6746adf commit 85e61c7
Show file tree
Hide file tree
Showing 16 changed files with 722 additions and 191 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Looking for the JS/TS library? Check out [LangChain.js](https://github.com/langc

To help you ship LangChain apps to production faster, check out [LangSmith](https://smith.langchain.com).
[LangSmith](https://smith.langchain.com) is a unified developer platform for building, testing, and monitoring LLM applications.
Fill out [this form](https://airtable.com/appwQzlErAS2qiP0L/shrGtGaVBVAz7NcV2) to get off the waitlist or speak with our sales team.
Fill out [this form](https://www.langchain.com/contact-sales) to speak with our sales team.

## Quick Install

Expand Down
54 changes: 54 additions & 0 deletions docs/docs/contributing/repo_structure.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
sidebar_position: 0.5
---
# Repository Structure

If you plan on contributing to LangChain code or documentation, it can be useful
to understand the high level structure of the repository.

LangChain is organized as a [monorep](https://en.wikipedia.org/wiki/Monorepo) that contains multiple packages.

Here's the structure visualized as a tree:

```text
.
β”œβ”€β”€ cookbook # Tutorials and examples
β”œβ”€β”€ docs # Contains content for the documentation here: https://python.langchain.com/
β”œβ”€β”€ libs
β”‚ β”œβ”€β”€ langchain # Main package
β”‚ β”‚ β”œβ”€β”€ tests/unit_tests # Unit tests (present in each package not shown for brevity)
β”‚ β”‚ β”œβ”€β”€ tests/integration_tests # Integration tests (present in each package not shown for brevity)
β”‚ β”œβ”€β”€ langchain-community # Third-party integrations
β”‚ β”œβ”€β”€ langchain-core # Base interfaces for key abstractions
β”‚ β”œβ”€β”€ langchain-experimental # Experimental components and chains
β”‚ β”œβ”€β”€ partners
β”‚ β”œβ”€β”€ langchain-partner-1
β”‚ β”œβ”€β”€ langchain-partner-2
β”‚ β”œβ”€β”€ ...
β”‚
β”œβ”€β”€ templates # A collection of easily deployable reference architectures for a wide variety of tasks.
```

The root directory also contains the following files:

* `pyproject.toml`: Dependencies for building docs and linting docs, cookbook.
* `Makefile`: A file that contains shortcuts for building, linting and docs and cookbook.

There are other files in the root directory level, but their presence should be self-explanatory. Feel free to browse around!

## Documentation

The `/docs` directory contains the content for the documentation that is shown
at https://python.langchain.com/ and the associated API Reference https://api.python.langchain.com/en/latest/langchain_api_reference.html.

See the [documentation](./documentation) guidelines to learn how to contribute to the documentation.

## Code

The `/libs` directory contains the code for the LangChain packages.

To learn more about how to contribute code see the following guidelines:

- [Code](./code.mdx) Learn how to develop in the LangChain codebase.
- [Integrations](./integrations.mdx) to learn how to contribute to third-party integrations to langchain-community or to start a new partner package.
- [Testing](./testing.mdx) guidelines to learn how to write tests for the packages.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"source": [
"## 1. Select a dataset\n",
"\n",
"This notebook fine-tunes a model directly on selecting which runs to fine-tune on. You will often curate these from traced runs. You can learn more about LangSmith datasets in the docs [docs](https://docs.smith.langchain.com/evaluation/datasets).\n",
"This notebook fine-tunes a model directly on selecting which runs to fine-tune on. You will often curate these from traced runs. You can learn more about LangSmith datasets in the docs [docs](https://docs.smith.langchain.com/evaluation/concepts#datasets).\n",
"\n",
"For the sake of this tutorial, we will upload an existing dataset here that you can use."
]
Expand Down
Loading

0 comments on commit 85e61c7

Please sign in to comment.