diff --git a/packages/langchain_community/.gitignore b/packages/langchain_community/.gitignore new file mode 100644 index 00000000..3cceda55 --- /dev/null +++ b/packages/langchain_community/.gitignore @@ -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 diff --git a/packages/langchain_community/CHANGELOG.md b/packages/langchain_community/CHANGELOG.md new file mode 100644 index 00000000..90f8e244 --- /dev/null +++ b/packages/langchain_community/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.0.1-dev.1 + +- Bootstrap package. diff --git a/packages/langchain_community/LICENSE b/packages/langchain_community/LICENSE new file mode 100644 index 00000000..f407ffdd --- /dev/null +++ b/packages/langchain_community/LICENSE @@ -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. diff --git a/packages/langchain_community/README.md b/packages/langchain_community/README.md new file mode 100644 index 00000000..afb4fee1 --- /dev/null +++ b/packages/langchain_community/README.md @@ -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). diff --git a/packages/langchain_community/analysis_options.yaml b/packages/langchain_community/analysis_options.yaml new file mode 100644 index 00000000..f04c6cf0 --- /dev/null +++ b/packages/langchain_community/analysis_options.yaml @@ -0,0 +1 @@ +include: ../../analysis_options.yaml diff --git a/packages/langchain_community/example/langchain_community_example.dart b/packages/langchain_community/example/langchain_community_example.dart new file mode 100644 index 00000000..21f3e9f2 --- /dev/null +++ b/packages/langchain_community/example/langchain_community_example.dart @@ -0,0 +1,3 @@ +void main() { + // TODO +} diff --git a/packages/langchain_community/lib/langchain_community.dart b/packages/langchain_community/lib/langchain_community.dart new file mode 100644 index 00000000..d40fcd58 --- /dev/null +++ b/packages/langchain_community/lib/langchain_community.dart @@ -0,0 +1,2 @@ +/// LangChain.dart third-party integrations that don't have a dedicated package. +library; diff --git a/packages/langchain_community/pubspec.yaml b/packages/langchain_community/pubspec.yaml new file mode 100644 index 00000000..4c75a29b --- /dev/null +++ b/packages/langchain_community/pubspec.yaml @@ -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