lawknowledge

A legal knowledge search and Q&A application based on Vietnam's Legal Code and legal document database ⚖️

https://github.com/foxminchan/lawknowledge

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.6%) to scientific vocabulary

Keywords

generative-ai microservice natural-language-processing nlp nx searching semantic-search

Keywords from Contributors

hack
Last synced: 6 months ago · JSON representation ·

Repository

A legal knowledge search and Q&A application based on Vietnam's Legal Code and legal document database ⚖️

Basic Info
Statistics
  • Stars: 112
  • Watchers: 1
  • Forks: 12
  • Open Issues: 0
  • Releases: 2
Topics
generative-ai microservice natural-language-processing nlp nx searching semantic-search
Created over 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Changelog Contributing Funding License Code of conduct Citation Codeowners Security Support

README.md

Law Knowledge

Law Knowlege

A legal knowledge search and Q&A application based on Vietnam's Legal Code and legal document database

Explore the docs »

🐛 Report Bug | ✈️ Request Feature | 💬 Join Our Telegram | 📚 Read Wiki | 📋 Roadmap

LawKnowledge issues LawKnowledge license Colab Gitpod Telegram

Preview


⚙️ This project used **SonarCloud** to analyze the code quality of the project. **Pulumi** for infrastructure as code (IaC). The badge below shows the quality of the code. Click on the badge to see the details.


SonarCloud Pulumi

Features

  • 📖 Document Organization and Linking
  • 📦 Terminology Extraction
  • 🔍 Quick Search for Related Content
  • 🤖 User Query Support

Table of Contents

Expand contents - [What is Law Knowledge?](#what-is-law-knowledge) - [Tentative technologies](#tentative-technologies) - [Building blocks](#building-blocks) - [Getting Started](#getting-started) - [🛠️ Prerequisites](#️-prerequisites) - [Infrastucture](#infrastucture) - [Services](#services) - [😄 HuggingFace Resources](#-huggingface-resources) - [🧑‍💻 Setup](#-setup) - [🚀 Running](#-running) - [🧪 Testing](#-testing) - [🧩 Other](#-other) - [Dependency Graph](#dependency-graph) - [CI/CD](#cicd) - [Contributing](#contributing) - [📖 Contributing Guidelines](#-contributing-guidelines) - [💁 Want to Help?](#-want-to-help) - [🫂 Code of Conduct](#-code-of-conduct) - [Support and Organization](#support-and-organization) - [License](#license)

What is Law Knowledge?

Law Knowledge is an app designed to provide quick access to Vietnam's legal information, including laws and legal documents. It's ideal for professionals, students, or anyone needing insights into Vietnamese legal codes and regulations.

Sparkline

Law Knowledge is a legal knowledge search and Q&A application based on Vietnam's Legal Code and legal document database. The application is built on the Microservice Architecture and uses Generative AI to extract legal terms and Question Answering to answer user questions. The application is built with Open Source technologies and is deployed on Cloud platforms.

If you want to find out more about the contest, please visit the VFOSSA website.

Preview

Tentative technologies

Building blocks

We used Microservice Architecture to build this project to make it easier to scale and maintain. The following diagram shows the architecture of the project.

Architecture

Getting Started

🛠️ Prerequisites

Infrastucture

  • Nx - Nx is a set of extensible dev tools for monorepos.
  • Nodejs - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
  • pnpm - Fast, disk space efficient package manager.
  • Python - Python is a programming language that lets you work quickly and integrate systems more effectively.
  • Poetry - Poetry helps you declare, manage and install dependencies of Python projects, ensuring you have the right stack everywhere.
  • Pulumi - Pulumi is a manage infrastructure, secrets, and configurations intuitively on any cloud.
  • Docker (Kubernetes Enabled) - Docker is an open platform for developing, shipping, and running applications.
  • Helm - Helm is the best way to find, share, and use software built for Kubernetes.

Services

  • AWS - An Amazon Web Services account is required to deploy the infrastructure.
  • HuggingFace - A HuggingFace account is required to download and upload the dataset and model.

😄 HuggingFace Resources

You can download the dataset from the following link: - [Law Knowledge Data](https://huggingface.co/datasets/foxminchan/law-knowledge): The dataset from [Pháp điển](https://phapdien.moj.gov.vn/) and [Văn bản pháp luật](https://vbpl.vn/). - [Law Knowledge Model](https://huggingface.co/foxminchan/law-knowledge): A fine-tuned model from [PhoBERT](https://huggingface.co/vinai/phobert-base-v2).

🧑‍💻 Setup

First, clone the repository to your local machine:

bash git clone https://github.com/foxminchan/LawKnowledge

Next, navigate to the root directory of the project and install the dependencies:

bash pnpm install --force

🚀 Running

For the website, you can run the following command:

bash npx nx serve website --prod

For the API, you can run the following command:

```bash

For the API Gateway

npx nx serve api-gateway --prod

For the Auth Service

npx nx serve auth-svc --prod

For the Law Service

npx nx serve law-svc --prod

For the Search Service, navigate to the search-svc directory

npx nx build search-svc && cd apps/api/search-svc/search-svc && python main.py

For the Chat Service, navigate to the chat-svc directory

npx nx build chat-svc && cd apps/api/chat-svc/chat-svc && python main.py ```

To traning the model, you can run the following command:

bash npx nx build bert && cd apps/nlp/bert/bert && python main.py

To set up the infrastructure, you can run the following command:

bash npx nx up pulumi

[!IMPORTANT]

If you want to run with Nx, make sure you have installed `poetry` globally. Python version must be `>=3.9.1 <=3.12`.

🧪 Testing

For the website, you can run the following command:

bash npx nx test website-e2e

For the API, you can run the following command:

```bash

For the Auth Service

npx nx test auth-svc-e2e

For the Law Service

npx nx test law-svc-e2e

For the Search Service

npx nx test search-svc-e2e

For the Chat Service

npx nx test chat-svc ```

To test the model, you can run the following command:

bash npx nx test bert

🧩 Other

To run the tooling for processing the dataset, you can run the following command:

bash npx nx build processor && cd apps/nlp/processor/processor && python main.py

For running documentation, you can run the following command:

bash npx nx serve docs

For running the Diagram as Code, you can run the following command:

bash npx nx build dac && cd assets/dac/dac && python main.py

Some useful scripts:

```bash

Navigate to the scripts directory

cd tools/scripts && ls

+ scripts

+-- build.sh --> Build the project

+-- clean.sh --> Clean the docker image

+-- init.sh --> Initialize the project

+-- prepare.sh --> Prepare the project

+-- start.sh --> Start the project

+-- start-o11y.sh --> Start the observability stack

+-- stop-o11y.sh --> Stop the observability stack

Run the script

./ ````

Dependency Graph

You can see the dependency graph of the project by running the following command:

bash npx nx dep-graph

Here is the dependency graph of the project:

Dependency Graph

CI/CD

CI/CD

Contributing

📖 Contributing Guidelines

We are excited that you are interested in contributing to this project! Before submitting your contribution, please make sure to take a moment and read through the following guidelines: Read through our [contributing guidelines](.github/CONTRIBUTING.md) to learn about our submission process, coding rules, and more.

💁 Want to Help?

Want to report a bug, contribute some code, or improve the documentation? Excellent! Read up on our guidelines for [contributing](.github/CONTRIBUTING.md) and then check out one of our issues labeled as [help wanted](https://github.com/foxminchan/LawKnowledge/labels/help%20wanted) or [good first issue](https://github.com/foxminchan/LawKnowledge/labels/good%20first%20issue).

🫂 Code of Conduct

Help us keep Law Knowledge open and inclusive. Please read and follow our [Code of Conduct](.github/CODE_OF_CONDUCT.md).

Support and Organization

Hutech Hutech Husc ICPC

License

This project is licensed under the terms of the [MIT](LICENSE) license.

Owner

  • Name: Nhan Nguyen
  • Login: foxminchan
  • Kind: user
  • Location: Ho Chi Minh City, Vietnam
  • Company: KMS Technology

Microservices & Open Source Enthusiast

Citation (CITATION.cff)

cff-version: 1.0.0
title: "Law Knowledge: A legal knowledge search and Q&A application based on Vietnam's Legal Code and legal document database"
message: >-
  If you use this application, please cite it using these metadata.
type: software
authors:
  - family-names: Hutech
    given-names: University
  - name: 'Contributors to Law Knowledge'
repository-code: 'https://github.com/foxminchan/LawKnowledge'
abstract: >-
  This repository hosts an application that allows users to search for legal knowledge and ask questions about legal issues. The application is based on the legal document database of Vietnam and the legal code of Vietnam.
license: MIT

GitHub Events

Total
  • Watch event: 14
  • Fork event: 4
Last Year
  • Watch event: 14
  • Fork event: 4

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 254
  • Total Committers: 7
  • Avg Commits per committer: 36.286
  • Development Distribution Score (DDS): 0.157
Past Year
  • Commits: 254
  • Committers: 7
  • Avg Commits per committer: 36.286
  • Development Distribution Score (DDS): 0.157
Top Committers
Name Email Commits
Nguyen Xuan Nhan n****7@g****m 214
Huynguyen n****3@g****m 16
ImgBotApp I****p@g****m 11
NguyenTriBaoThang n****g@g****m 8
Huynguyen 9****3 3
Huynguyen 9****v 1
Nguyễn Tri Bão Thắng 1****g 1

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 19
  • Total pull requests: 42
  • Average time to close issues: 14 days
  • Average time to close pull requests: about 3 hours
  • Total issue authors: 1
  • Total pull request authors: 6
  • Average comments per issue: 0.21
  • Average comments per pull request: 1.02
  • Merged pull requests: 39
  • Bot issues: 0
  • Bot pull requests: 24
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • foxminchan (15)
Pull Request Authors
  • dependabot[bot] (15)
  • imgbot[bot] (11)
  • NguyenTriBaoThang (6)
  • foxminchan (5)
  • baohuy2k3 (3)
  • huynguyenjv (2)
Top Labels
Issue Labels
enhancement (10) invalid (3) bug (1) wontfix (1) documentation (1)
Pull Request Labels
dependencies (15) python (11) enhancement (7) javascript (4) bug (1)

Packages

  • Total packages: 2
  • Total downloads: unknown
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 4
proxy.golang.org: github.com/foxminchan/lawknowledge
  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 7 months ago
proxy.golang.org: github.com/foxminchan/LawKnowledge
  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 7 months ago

Dependencies

apps/api/auth-svc/Dockerfile docker
  • docker.io/node lts-alpine build
apps/api/gateway/Dockerfile docker
  • docker.io/node lts-alpine build
apps/api/law-svc/Dockerfile docker
  • docker.io/node lts-alpine build
apps/clients/website/Dockerfile docker
  • nginx stable-alpine build
deploys/docker/docker-compose.ci.yml docker
  • argoproj/argocd v2.0.0
  • jenkins/jenkins lts
  • postgres latest
  • sonarqube developer
deploys/docker/docker-compose.o11y.yml docker
deploys/docker/docker-compose.yml docker
  • bitnami/kafka latest
  • bitnami/zookeeper latest
  • dpage/pgadmin4 latest
  • ghcr.io/foxminchan/api-gateway latest
  • ghcr.io/foxminchan/auth-svc latest
  • ghcr.io/foxminchan/chat-svc latest
  • ghcr.io/foxminchan/law-svc latest
  • ghcr.io/foxminchan/search-svc latest
  • mongo latest
  • nginx latest
  • postgres latest
  • redis latest
  • tchiotludo/akhq latest
package.json npm
  • @commitlint/cli ^18.4.3 development
  • @commitlint/config-conventional ^18.4.3 development
  • @docusaurus/eslint-plugin ^3.0.1 development
  • @docusaurus/module-type-aliases ^3.0.1 development
  • @koliveira15/nx-sonarqube ^3.4.0 development
  • @nestjs/schematics ^10.0.3 development
  • @nestjs/testing ^10.3.0 development
  • @nx-extend/pulumi ^4.1.1 development
  • @nx-plus/docusaurus 15.0.0-rc.0 development
  • @nx-tools/container-metadata ^5.1.0 development
  • @nx-tools/nx-container ^5.1.0 development
  • @nx-tools/nx-prisma ^5.1.0 development
  • @nx/cypress 17.2.0 development
  • @nx/eslint 17.2.0 development
  • @nx/eslint-plugin 17.2.0 development
  • @nx/jest 17.2.0 development
  • @nx/js 17.2.0 development
  • @nx/nest 17.2.0 development
  • @nx/node 17.2.0 development
  • @nx/nx-linux-x64-gnu ^17.2.6 development
  • @nx/react 17.2.0 development
  • @nx/vite 17.2.0 development
  • @nx/webpack 17.2.0 development
  • @nx/workspace 17.2.0 development
  • @nxlv/python ^16.3.1 development
  • @prisma/client ^5.7.1 development
  • @pulumi/aws ^6.15.0 development
  • @pulumi/awsx ^2.3.0 development
  • @pulumi/pulumi ^3.98.0 development
  • @rollup/rollup-linux-x64-gnu ^4.9.1 development
  • @swc-node/register ~1.6.8 development
  • @swc/cli ~0.1.63 development
  • @swc/core ~1.3.101 development
  • @swc/helpers ^0.5.3 development
  • @tailwindcss/typography ^0.5.10 development
  • @testing-library/react ^14.1.2 development
  • @types/d3-dsv ^3.0.7 development
  • @types/jest ^29.5.11 development
  • @types/js-cookie ^3.0.6 development
  • @types/loadable__component ^5.13.8 development
  • @types/lodash ^4.14.202 development
  • @types/node ^20.10.5 development
  • @types/nodemailer ^6.4.14 development
  • @types/passport-jwt ^3.0.13 development
  • @types/react ^18.2.45 development
  • @types/react-dom ^18.2.18 development
  • @types/swagger-stats ^0.95.11 development
  • @typescript-eslint/eslint-plugin ^6.15.0 development
  • @typescript-eslint/parser ^6.15.0 development
  • @vitejs/plugin-react ^4.2.1 development
  • @vitest/coverage-v8 ^1.1.0 development
  • @vitest/ui ^1.1.0 development
  • autoprefixer 10.4.16 development
  • cypress ^13.6.1 development
  • eslint ^8.56.0 development
  • eslint-config-prettier ^9.1.0 development
  • eslint-plugin-cypress ^2.15.1 development
  • eslint-plugin-import ^2.29.1 development
  • eslint-plugin-jsx-a11y ^6.8.0 development
  • eslint-plugin-react 7.32.2 development
  • eslint-plugin-react-hooks 4.6.0 development
  • husky ^8.0.3 development
  • jest ^29.7.0 development
  • jest-environment-jsdom ^29.7.0 development
  • jest-environment-node ^29.7.0 development
  • jsdom ^23.0.1 development
  • lint-staged ^15.2.0 development
  • nx 17.2.0 development
  • nx-stylelint ^17.1.0 development
  • postcss ^8.4.32 development
  • prettier ^3.1.1 development
  • rollup-plugin-visualizer ^5.11.0 development
  • stylelint ^16.0.2 development
  • stylelint-config-standard ^35.0.0 development
  • tailwind ^4.0.0 development
  • tailwindcss ^3.4.0 development
  • ts-jest ^29.1.1 development
  • ts-node ^10.9.2 development
  • tsconfig-paths ^4.2.0 development
  • typescript ^5.3.3 development
  • vite ^5.0.10 development
  • vite-plugin-dts ^3.6.4 development
  • vite-plugin-pwa ^0.17.4 development
  • vitest ^1.1.0 development
  • @akebifiky/remark-simple-plantuml ^1.0.2
  • @ant-design/icons ^5.2.6
  • @ant-design/pro-components ^2.6.43
  • @casl/ability ^6.5.0
  • @docusaurus/core ^3.0.1
  • @docusaurus/plugin-content-docs ^3.0.1
  • @docusaurus/plugin-content-pages ^3.0.1
  • @docusaurus/plugin-ideal-image ^3.0.1
  • @docusaurus/plugin-pwa ^3.0.1
  • @docusaurus/plugin-sitemap ^3.0.1
  • @docusaurus/preset-classic ^3.0.1
  • @docusaurus/theme-classic ^3.0.1
  • @fastify/compress ^6.5.0
  • @fastify/cors ^8.5.0
  • @fastify/csrf-protection ^6.4.1
  • @fastify/helmet ^11.1.1
  • @fastify/static ^6.12.0
  • @grpc/grpc-js ^1.9.13
  • @grpc/proto-loader ^0.7.10
  • @loadable/component ^5.16.2
  • @mdx-js/react ^3.0.0
  • @nestjs-modules/mailer ^1.9.1
  • @nestjs/axios ^3.0.1
  • @nestjs/cache-manager ^2.1.1
  • @nestjs/common ^10.3.0
  • @nestjs/config ^3.1.1
  • @nestjs/core ^10.3.0
  • @nestjs/cqrs ^10.2.6
  • @nestjs/jwt ^10.2.0
  • @nestjs/mapped-types ^2.0.4
  • @nestjs/microservices ^10.3.0
  • @nestjs/passport ^10.0.3
  • @nestjs/platform-fastify ^10.3.0
  • @nestjs/platform-socket.io ^10.3.0
  • @nestjs/swagger ^7.1.17
  • @nestjs/terminus ^10.2.0
  • @nestjs/throttler ^5.1.1
  • @nestjs/websockets ^10.3.0
  • @socket.io/redis-adapter ^8.2.1
  • @tanstack/query-core ^5.14.2
  • antd ^5.12.4
  • argon2 ^0.31.2
  • axios ^1.6.2
  • cache-manager ^5.3.2
  • class-transformer ^0.5.1
  • class-validator ^0.14.0
  • clsx ^2.0.0
  • d3-dsv ^3.0.1
  • faiss-node ^0.5.1
  • fastify ^4.25.1
  • helper-fns ^2.6.43
  • http-problem-details ^0.1.5
  • inversify ^6.0.2
  • joi ^17.11.0
  • jotai ^2.6.0
  • jotai-tanstack-query ^0.8.0
  • js-cookie ^3.0.5
  • jwt-decode ^4.0.0
  • kafkajs ^2.2.4
  • lodash ^4.17.21
  • nestjs-otel ^5.1.5
  • nestjs-pino ^3.5.0
  • nodemailer ^6.9.7
  • passport ^0.7.0
  • passport-headerapikey ^1.2.2
  • passport-jwt ^4.0.1
  • pino ^8.17.1
  • prism-react-renderer ^2.3.1
  • prisma ^5.7.1
  • prom-client ^15.1.0
  • pug ^3.0.2
  • react 18.2.0
  • react-dom 18.2.0
  • react-query ^3.39.3
  • react-router-dom ^6.21.0
  • redis ^4.6.12
  • reflect-metadata ^0.1.14
  • rxjs ^7.8.1
  • socket.io ^4.7.2
  • socket.io-adapter ^2.5.2
  • swagger-stats ^0.99.7
  • tslib ^2.6.2
  • wonka ^6.3.4
pnpm-lock.yaml npm
  • 2998 dependencies
apps/api/chat-svc/poetry.lock pypi
  • 108 dependencies
apps/api/chat-svc/pyproject.toml pypi
  • base-core *
  • faiss-cpu ^1.7.4
  • grpcio ^1.60.0
  • grpcio-tools ^1.60.0
  • langchain ^0.0.351
  • protobuf ^4.25.1
  • pydantic ^2.5.2
  • pydantic-settings ^2.1.0
  • python >=3.9 <=3.12
  • python-dotenv ^1.0.0
  • transformers ^4.36.2
apps/api/search-svc/poetry.lock pypi
  • 110 dependencies
apps/api/search-svc/pyproject.toml pypi
  • base-core *
  • datasets ^2.15.0
  • grpcio ^1.60.0
  • grpcio-tools ^1.60.0
  • langchain ^0.0.351
  • protobuf ^4.25.1
  • pydantic ^2.5.2
  • pydantic-settings ^2.1.0
  • pymongo ^4.6.1
  • python >=3.9 <=3.12
  • python-dotenv ^1.0.0
  • sentence-transformers ^2.2.2
  • transformers ^4.36.2
apps/nlp/bert/poetry.lock pypi
  • aiohttp 3.9.1
  • aiosignal 1.3.1
  • annotated-types 0.6.0
  • async-timeout 4.0.3
  • attrs 23.1.0
  • autopep8 2.0.2
  • certifi 2023.11.17
  • charset-normalizer 3.3.2
  • colorama 0.4.6
  • coverage 7.3.3
  • datasets 2.15.0
  • dill 0.3.7
  • exceptiongroup 1.2.0
  • filelock 3.13.1
  • flake8 6.0.0
  • frozenlist 1.4.1
  • fsspec 2023.10.0
  • huggingface-hub 0.19.4
  • idna 3.6
  • iniconfig 2.0.0
  • isort 5.13.2
  • jinja2 3.1.2
  • markupsafe 2.1.3
  • mccabe 0.7.0
  • mpmath 1.3.0
  • multidict 6.0.4
  • multiprocess 0.70.15
  • networkx 3.2.1
  • numpy 1.26.2
  • nvidia-cublas-cu12 12.1.3.1
  • nvidia-cuda-cupti-cu12 12.1.105
  • nvidia-cuda-nvrtc-cu12 12.1.105
  • nvidia-cuda-runtime-cu12 12.1.105
  • nvidia-cudnn-cu12 8.9.2.26
  • nvidia-cufft-cu12 11.0.2.54
  • nvidia-curand-cu12 10.3.2.106
  • nvidia-cusolver-cu12 11.4.5.107
  • nvidia-cusparse-cu12 12.1.0.106
  • nvidia-nccl-cu12 2.18.1
  • nvidia-nvjitlink-cu12 12.3.101
  • nvidia-nvtx-cu12 12.1.105
  • packaging 23.2
  • pandas 2.1.4
  • pluggy 1.3.0
  • py 1.11.0
  • py4j 0.10.9.7
  • pyarrow 14.0.2
  • pyarrow-hotfix 0.6
  • pycodestyle 2.10.0
  • pydantic 2.5.2
  • pydantic-core 2.14.5
  • pydantic-settings 2.1.0
  • pyflakes 3.0.1
  • pyspark 3.5.0
  • pytest 7.3.1
  • pytest-cov 4.1.0
  • pytest-html 3.2.0
  • pytest-metadata 3.0.0
  • pytest-sugar 0.9.7
  • python-dateutil 2.8.2
  • python-dotenv 1.0.0
  • pytz 2023.3.post1
  • pyyaml 6.0.1
  • regex 2023.10.3
  • requests 2.31.0
  • safetensors 0.4.1
  • six 1.16.0
  • sympy 1.12
  • termcolor 2.4.0
  • tokenizers 0.15.0
  • tomli 2.0.1
  • torch 2.1.2
  • tqdm 4.66.1
  • transformers 4.36.2
  • triton 2.1.0
  • typing-extensions 4.9.0
  • tzdata 2023.3
  • urllib3 2.1.0
  • xxhash 3.4.1
  • yarl 1.9.4
apps/nlp/bert/pyproject.toml pypi
  • datasets ^2.15.0
  • pydantic ^2.5.2
  • pydantic-settings ^2.1.0
  • pyspark ^3.5.0
  • python >=3.9 <=3.12
  • python-dotenv ^1.0.0
  • torch ^2.1.1
  • transformers ^4.36.2
apps/nlp/processor/poetry.lock pypi
  • attrs 23.1.0
  • autopep8 2.0.2
  • beautifulsoup4 4.12.2
  • bs4 0.0.1
  • certifi 2023.11.17
  • cffi 1.16.0
  • charset-normalizer 3.3.2
  • colorama 0.4.6
  • coverage 7.3.4
  • exceptiongroup 1.2.0
  • flake8 6.0.0
  • h11 0.14.0
  • idna 3.6
  • iniconfig 2.0.0
  • isort 5.13.2
  • mccabe 0.7.0
  • numpy 1.26.2
  • outcome 1.3.0.post0
  • packaging 23.2
  • pandas 2.1.4
  • pluggy 1.3.0
  • py 1.11.0
  • pycodestyle 2.10.0
  • pycparser 2.21
  • pyflakes 3.0.1
  • pysocks 1.7.1
  • pytest 7.3.1
  • pytest-cov 4.1.0
  • pytest-html 3.2.0
  • pytest-metadata 3.0.0
  • pytest-sugar 0.9.7
  • python-dateutil 2.8.2
  • pytz 2023.3.post1
  • requests 2.31.0
  • selenium 4.16.0
  • six 1.16.0
  • sniffio 1.3.0
  • sortedcontainers 2.4.0
  • soupsieve 2.5
  • termcolor 2.4.0
  • tomli 2.0.1
  • tqdm 4.66.1
  • trio 0.23.2
  • trio-websocket 0.11.1
  • tzdata 2023.3
  • urllib3 2.1.0
  • wsproto 1.2.0
apps/nlp/processor/pyproject.toml pypi
  • bs4 ^0.0.1
  • pandas ^2.1.3
  • python >=3.9 <=3.12
  • requests ^2.31.0
  • selenium ^4.15.2
  • tqdm ^4.66.1
libs/base-core/poetry.lock pypi
  • aiohttp 3.9.1
  • aiosignal 1.3.1
  • annotated-types 0.6.0
  • anyio 4.2.0
  • async-timeout 4.0.3
  • attrs 23.1.0
  • autopep8 2.0.2
  • certifi 2023.11.17
  • charset-normalizer 3.3.2
  • click 8.1.7
  • colorama 0.4.6
  • coverage 7.3.4
  • dataclasses-json 0.6.3
  • datasets 2.15.0
  • dill 0.3.7
  • exceptiongroup 1.2.0
  • filelock 3.13.1
  • flake8 6.0.0
  • frozenlist 1.4.1
  • fsspec 2023.10.0
  • greenlet 3.0.2
  • huggingface-hub 0.20.1
  • idna 3.6
  • iniconfig 2.0.0
  • jinja2 3.1.2
  • joblib 1.3.2
  • jsonpatch 1.33
  • jsonpointer 2.4
  • langchain 0.0.351
  • langchain-community 0.0.5
  • langchain-core 0.1.2
  • langsmith 0.0.73
  • markupsafe 2.1.3
  • marshmallow 3.20.1
  • mccabe 0.7.0
  • mpmath 1.3.0
  • multidict 6.0.4
  • multiprocess 0.70.15
  • mypy-extensions 1.0.0
  • networkx 3.2.1
  • nltk 3.8.1
  • numpy 1.26.2
  • nvidia-cublas-cu12 12.1.3.1
  • nvidia-cuda-cupti-cu12 12.1.105
  • nvidia-cuda-nvrtc-cu12 12.1.105
  • nvidia-cuda-runtime-cu12 12.1.105
  • nvidia-cudnn-cu12 8.9.2.26
  • nvidia-cufft-cu12 11.0.2.54
  • nvidia-curand-cu12 10.3.2.106
  • nvidia-cusolver-cu12 11.4.5.107
  • nvidia-cusparse-cu12 12.1.0.106
  • nvidia-nccl-cu12 2.18.1
  • nvidia-nvjitlink-cu12 12.3.101
  • nvidia-nvtx-cu12 12.1.105
  • packaging 23.2
  • pandas 2.1.4
  • pillow 10.1.0
  • pluggy 1.3.0
  • py 1.11.0
  • pyarrow 14.0.2
  • pyarrow-hotfix 0.6
  • pycodestyle 2.10.0
  • pydantic 2.5.2
  • pydantic-core 2.14.5
  • pyflakes 3.0.1
  • pytest 7.3.1
  • pytest-cov 4.1.0
  • pytest-html 3.2.0
  • pytest-metadata 3.0.0
  • pytest-sugar 0.9.7
  • python-dateutil 2.8.2
  • pytz 2023.3.post1
  • pyyaml 6.0.1
  • regex 2023.10.3
  • requests 2.31.0
  • safetensors 0.4.1
  • scikit-learn 1.3.2
  • scipy 1.11.4
  • sentence-transformers 2.2.2
  • sentencepiece 0.1.99
  • six 1.16.0
  • sniffio 1.3.0
  • sqlalchemy 2.0.23
  • sympy 1.12
  • tenacity 8.2.3
  • termcolor 2.4.0
  • threadpoolctl 3.2.0
  • tokenizers 0.15.0
  • tomli 2.0.1
  • torch 2.1.2
  • torchvision 0.16.2
  • tqdm 4.66.1
  • transformers 4.36.2
  • triton 2.1.0
  • typing-extensions 4.9.0
  • typing-inspect 0.9.0
  • tzdata 2023.3
  • urllib3 2.1.0
  • xxhash 3.4.1
  • yarl 1.9.4
libs/base-core/pyproject.toml pypi
  • datasets ^2.15.0
  • langchain ^0.0.351
  • python >=3.9 <=3.12
  • sentence-transformers ^2.2.2