Skip to content

Commit

Permalink
feat: Bootstrap langchain_community package (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmigloz authored Feb 14, 2024
1 parent 289427d commit c887fa3
Show file tree
Hide file tree
Showing 8 changed files with 90 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/langchain_community/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# https://dart.dev/guides/libraries/private-files
# Created by `dart pub`
.dart_tool/

# Avoid committing pubspec.lock for library packages; see
# https://dart.dev/guides/libraries/private-files#pubspeclock.
pubspec.lock
3 changes: 3 additions & 0 deletions packages/langchain_community/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 0.0.1-dev.1

- Bootstrap package.
21 changes: 21 additions & 0 deletions packages/langchain_community/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 David Miguel Lozano

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
31 changes: 31 additions & 0 deletions packages/langchain_community/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# 🦜️🔗 LangChain.dart Community

[![tests](https://img.shields.io/github/actions/workflow/status/davidmigloz/langchain_dart/test.yaml?logo=github&label=tests)](https://github.com/davidmigloz/langchain_dart/actions/workflows/test.yaml)
[![docs](https://img.shields.io/github/actions/workflow/status/davidmigloz/langchain_dart/pages%2Fpages-build-deployment?logo=github&label=docs)](https://github.com/davidmigloz/langchain_dart/actions/workflows/pages/pages-build-deployment)
[![langchain_community](https://img.shields.io/pub/v/langchain_community.svg)](https://pub.dev/packages/langchain_community)
[![](https://dcbadge.vercel.app/api/server/x4qbhqecVR?style=flat)](https://discord.gg/x4qbhqecVR)
[![MIT](https://img.shields.io/badge/license-MIT-purple.svg)](https://github.com/davidmigloz/langchain_dart/blob/main/LICENSE)

## What is it?

LangChain.dart Community contains third-party integrations that implement the base interfaces defined in LangChain.dart Core, making them ready-to-use in any LangChain.dart application.

The most popular third-party integrations have their own packages (e.g. [langchain_openai](https://pub.dev/packages/langchain_openai), [langchain_google](https://pub.dev/packages/langchain_google), etc.). Check out the [full list of packages](https://github.com/davidmigloz/langchain_dart?tab=readme-ov-file#packages).

For full documentation see the [API reference](https://pub.dev/documentation/langchain_community/latest/).

![Diagram outlining the hierarchical organization of the LangChain.dart framework, displaying the interconnected parts across multiple layers.](https://python.langchain.com/assets/images/langchain_stack-f21828069f74484521f38199910007c1.svg "LangChain Framework Overview")

## Contributing

New contributors welcome! Check out our
[Contributors Guide](https://github.com/davidmigloz/langchain_dart/blob/main/CONTRIBUTING.md) for
help getting started.

Join us on [Discord](https://discord.gg/x4qbhqecVR) to meet other maintainers. We'll help you get
your first contribution in no time!

## License

LangChain.dart is licensed under the
[MIT License](https://github.com/davidmigloz/langchain_dart/blob/main/LICENSE).
1 change: 1 addition & 0 deletions packages/langchain_community/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include: ../../analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
void main() {
// TODO
}
2 changes: 2 additions & 0 deletions packages/langchain_community/lib/langchain_community.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/// LangChain.dart third-party integrations that don't have a dedicated package.
library;
22 changes: 22 additions & 0 deletions packages/langchain_community/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: langchain_community
description: LangChain.dart third-party integrations that don't have a dedicated package.
version: 0.0.1-dev.1
repository: https://github.com/davidmigloz/langchain_dart/tree/main/packages/langchain_community
issue_tracker: https://github.com/davidmigloz/langchain_dart/issues?q=label:p:langchain_community
homepage: https://github.com/davidmigloz/langchain_dart
documentation: https://langchaindart.com

topics:
- ai
- nlp
- llms
- langchain

environment:
sdk: ">=3.0.0 <4.0.0"

dependencies:
meta: ^1.9.1

dev_dependencies:
test: ^1.24.5

0 comments on commit c887fa3

Please sign in to comment.