rqle-ai-langchain-util


Namerqle-ai-langchain-util JSON
Version 0.3.3 PyPI version JSON
download
home_pagehttps://www.linkedin.com/company/102641077
SummaryLibrary facilitating the integration of different LLM providers in LangChain (e.g. `ollama`, `Google Gemini`, etc).
upload_time2024-08-21 19:05:27
maintainerNone
docs_urlNone
authorQuentin Reul
requires_python<3.12,>=3.11
licenseApache-2.0
keywords langchain generative ai llm
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
  <h1>
    <br/>
    <img src="img/langchain_util.jpg" alt="LangChain Util" width="60"/>
    <br/>
    LangChain Utility
  </h1>
</div>

<p align="center">
  <a href="https://www.python.org/downloads/release/python-3114/">
    <img src="https://img.shields.io/badge/python-3.11.4-blue.svg"/>
  </a>
  <a href="https://python-poetry.org/">
    <img src="https://img.shields.io/badge/dependency-poetry-%B2EA00"/>
  </a>
  <a href="https://github.com/langchain-ai/langchain">
    <img src="https://img.shields.io/badge/dependency-LangChain-%B2EA00"/>
  </a>
  <a href="https://github.com/protectai/llm-guard">
    <img src="https://img.shields.io/badge/dependency-llm_guard-%B2EA00"/>
  </a>
  <a href="https://github.com/traceloop/openllmetry">
    <img src="https://img.shields.io/badge/dependency-OpenLLMetry-%B2EA00"/>
  </a>
  <a href="https://github.com/streamlit/streamlit">
    <img src="https://img.shields.io/badge/dependency-streamlit-%B2EA00"/>
  </a>
  <a href="https://github.com/qhreul/langchain-util/blob/develop/LICENSE">
    <img src="https://img.shields.io/pypi/l/giteo"/>
  </a>
</p>

- [Description](#description)
- [Documentation](#documentation)
- [Development](#development)
  - [Requirements](#requirements)
  - [Environment Variables](#environment-variables)
  - [How to prepare the environment](#how-to-prepare-the-environment) 
- [About RQle.AI](#about-rqle-ai)
- [Disclaimer](#disclaimer)

## Description <a name="description"></a>
[LangChain](https://www.langchain.com/langchain) is a framework for developing applications powered by language models. 
It enables application that:
* **Are context aware**; i.e. connect a language model to sources context
* **Reason**; i.e. rely on a language model to reason

This library offers integration with the following Generative AI servers:
* [AWS Bedrock](https://us-west-2.console.aws.amazon.com/bedrock/home)
* [Azure OpenAI](https://azure.microsoft.com/en-us/products/ai-services/openai-service)
* [Google AI Studio](https://aistudio.google.com/)
* [ollama](https://ollama.com/) 
* [Oracle Cloud Infrastructure AI](https://www.oracle.com/artificial-intelligence/ai-services/)

This library extends LangChain by providing facilities to define configurations, templates for execution of LLMs.

## Documentation <a name="documentation"></a>
To get started refer to the [documentation](docs/get_started/introduction.md).

## Development <a name="development"></a>

### Requirements <a name="requirements"></a>
* Git
* llm-guard >= 0.3
* langchain >= 0.2
* traceloop-sdk >= 0.13
* Python = 3.11 
* Poetry >= 1.7.0
* streamlit >= 1.32


### Environment Variables <a name="environment-variables"></a>
| **Name**                 | **Description**                                                                | **Default**     |
|--------------------------|--------------------------------------------------------------------------------|-----------------|
| `LOG_DIR`                | Location of the logging files                                                  | logs/           |
| `LOG_LEVEL`              | Logging level to be applied during execution                                   | INFO            |
| `AUDIO_TMP_FOLDER`       | Location of temporary audio files when transcribing videos                     | tmp/audio/      |
| `PROMPT_CONFIG_FOLDER`   | Location of the Prompt configuration for execution                             | prompt_configs/ |

### How to prepare the environment <a name="how-to-prepare-the-environment"></a>
* Install dependencies
  ```
  poetry install
  ```
  ---
  **NOTE**
  To update dependencies, it may be needed to run the following command prior to installing the packages:
  ```
  poetry lock
  ```
  ---
* Test unit test coverage for the project
  ```
  poetry run coverage run -m pytest && poetry run coverage report -m
  ```
  **Note** Report is only generated if all unit test have completed successfully.

## About RQle.AI <a name="about-rqle-ai"></a>
[**RQle.AI**](https://www.linkedin.com/company/102641077) believes in the transformative potential of Generative AI. More specifically, it focuses on showcasing real-world applications of how Generative AI can empower individuals and organizations worldwide in addressing customers' "*job to be done*" problems and create value for them.

## Disclaimer <a name="disclaimer"></a>
This library and its use of Large Language Models (LLMs) are subject to the **following disclaimers**:
* LLMs are still under development and may generate inaccurate, incomplete, or biased output;
* LLMs can inherit and reflect biases present in their training data;
* Developers of this library are not liable for any damages or losses arising from its use;
* You are responsible for using the library and LLMs in an ethical and responsible manner.

**By using this library, you acknowledge and agree to these disclaimers and limitations**.

<div style="text-align: center;">
  <hr/>
  <img src="img/rqle_ai_logo_alt.jpeg" alt="RQle.AI" width="60"/>
  &nbsp; RQle.AI - 2024
</div>

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.linkedin.com/company/102641077",
    "name": "rqle-ai-langchain-util",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.12,>=3.11",
    "maintainer_email": null,
    "keywords": "langchain, generative ai, llm",
    "author": "Quentin Reul",
    "author_email": "Quentin.H.Reul@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d5/50/66dae3454b4fd23ea72b92e04bb61e0e795b30f0899f08b4ab636acb0f6b/rqle_ai_langchain_util-0.3.3.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n  <h1>\n    <br/>\n    <img src=\"img/langchain_util.jpg\" alt=\"LangChain Util\" width=\"60\"/>\n    <br/>\n    LangChain Utility\n  </h1>\n</div>\n\n<p align=\"center\">\n  <a href=\"https://www.python.org/downloads/release/python-3114/\">\n    <img src=\"https://img.shields.io/badge/python-3.11.4-blue.svg\"/>\n  </a>\n  <a href=\"https://python-poetry.org/\">\n    <img src=\"https://img.shields.io/badge/dependency-poetry-%B2EA00\"/>\n  </a>\n  <a href=\"https://github.com/langchain-ai/langchain\">\n    <img src=\"https://img.shields.io/badge/dependency-LangChain-%B2EA00\"/>\n  </a>\n  <a href=\"https://github.com/protectai/llm-guard\">\n    <img src=\"https://img.shields.io/badge/dependency-llm_guard-%B2EA00\"/>\n  </a>\n  <a href=\"https://github.com/traceloop/openllmetry\">\n    <img src=\"https://img.shields.io/badge/dependency-OpenLLMetry-%B2EA00\"/>\n  </a>\n  <a href=\"https://github.com/streamlit/streamlit\">\n    <img src=\"https://img.shields.io/badge/dependency-streamlit-%B2EA00\"/>\n  </a>\n  <a href=\"https://github.com/qhreul/langchain-util/blob/develop/LICENSE\">\n    <img src=\"https://img.shields.io/pypi/l/giteo\"/>\n  </a>\n</p>\n\n- [Description](#description)\n- [Documentation](#documentation)\n- [Development](#development)\n  - [Requirements](#requirements)\n  - [Environment Variables](#environment-variables)\n  - [How to prepare the environment](#how-to-prepare-the-environment) \n- [About RQle.AI](#about-rqle-ai)\n- [Disclaimer](#disclaimer)\n\n## Description <a name=\"description\"></a>\n[LangChain](https://www.langchain.com/langchain) is a framework for developing applications powered by language models. \nIt enables application that:\n* **Are context aware**; i.e. connect a language model to sources context\n* **Reason**; i.e. rely on a language model to reason\n\nThis library offers integration with the following Generative AI servers:\n* [AWS Bedrock](https://us-west-2.console.aws.amazon.com/bedrock/home)\n* [Azure OpenAI](https://azure.microsoft.com/en-us/products/ai-services/openai-service)\n* [Google AI Studio](https://aistudio.google.com/)\n* [ollama](https://ollama.com/) \n* [Oracle Cloud Infrastructure AI](https://www.oracle.com/artificial-intelligence/ai-services/)\n\nThis library extends LangChain by providing facilities to define configurations, templates for execution of LLMs.\n\n## Documentation <a name=\"documentation\"></a>\nTo get started refer to the [documentation](docs/get_started/introduction.md).\n\n## Development <a name=\"development\"></a>\n\n### Requirements <a name=\"requirements\"></a>\n* Git\n* llm-guard >= 0.3\n* langchain >= 0.2\n* traceloop-sdk >= 0.13\n* Python = 3.11 \n* Poetry >= 1.7.0\n* streamlit >= 1.32\n\n\n### Environment Variables <a name=\"environment-variables\"></a>\n| **Name**                 | **Description**                                                                | **Default**     |\n|--------------------------|--------------------------------------------------------------------------------|-----------------|\n| `LOG_DIR`                | Location of the logging files                                                  | logs/           |\n| `LOG_LEVEL`              | Logging level to be applied during execution                                   | INFO            |\n| `AUDIO_TMP_FOLDER`       | Location of temporary audio files when transcribing videos                     | tmp/audio/      |\n| `PROMPT_CONFIG_FOLDER`   | Location of the Prompt configuration for execution                             | prompt_configs/ |\n\n### How to prepare the environment <a name=\"how-to-prepare-the-environment\"></a>\n* Install dependencies\n  ```\n  poetry install\n  ```\n  ---\n  **NOTE**\n  To update dependencies, it may be needed to run the following command prior to installing the packages:\n  ```\n  poetry lock\n  ```\n  ---\n* Test unit test coverage for the project\n  ```\n  poetry run coverage run -m pytest && poetry run coverage report -m\n  ```\n  **Note** Report is only generated if all unit test have completed successfully.\n\n## About RQle.AI <a name=\"about-rqle-ai\"></a>\n[**RQle.AI**](https://www.linkedin.com/company/102641077) believes in the transformative potential of Generative AI. More specifically, it focuses on showcasing real-world applications of how Generative AI can empower individuals and organizations worldwide in addressing customers' \"*job to be done*\" problems and create value for them.\n\n## Disclaimer <a name=\"disclaimer\"></a>\nThis library and its use of Large Language Models (LLMs) are subject to the **following disclaimers**:\n* LLMs are still under development and may generate inaccurate, incomplete, or biased output;\n* LLMs can inherit and reflect biases present in their training data;\n* Developers of this library are not liable for any damages or losses arising from its use;\n* You are responsible for using the library and LLMs in an ethical and responsible manner.\n\n**By using this library, you acknowledge and agree to these disclaimers and limitations**.\n\n<div style=\"text-align: center;\">\n  <hr/>\n  <img src=\"img/rqle_ai_logo_alt.jpeg\" alt=\"RQle.AI\" width=\"60\"/>\n  &nbsp; RQle.AI - 2024\n</div>\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Library facilitating the integration of different LLM providers in LangChain (e.g. `ollama`, `Google Gemini`, etc).",
    "version": "0.3.3",
    "project_urls": {
        "Homepage": "https://www.linkedin.com/company/102641077"
    },
    "split_keywords": [
        "langchain",
        " generative ai",
        " llm"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dfdb1c9d6a07e92ecd61732879cf51879762f9ce114c0c6abf20ee6b5bc2d3e5",
                "md5": "d3a4b91ea03ac2a777e25019cfeaa7fc",
                "sha256": "f960b7d4aceb408e6789007f1a7e08c69217554d4b3b1f97bbd5498a2fd96817"
            },
            "downloads": -1,
            "filename": "rqle_ai_langchain_util-0.3.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d3a4b91ea03ac2a777e25019cfeaa7fc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.11",
            "size": 37133,
            "upload_time": "2024-08-21T19:05:25",
            "upload_time_iso_8601": "2024-08-21T19:05:25.247546Z",
            "url": "https://files.pythonhosted.org/packages/df/db/1c9d6a07e92ecd61732879cf51879762f9ce114c0c6abf20ee6b5bc2d3e5/rqle_ai_langchain_util-0.3.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d55066dae3454b4fd23ea72b92e04bb61e0e795b30f0899f08b4ab636acb0f6b",
                "md5": "6e2fe60b567a27335d80f759f4e06c75",
                "sha256": "2c02013f07c8981900813873b591fe96d40e54e259fae7ce31e3506cbf24439a"
            },
            "downloads": -1,
            "filename": "rqle_ai_langchain_util-0.3.3.tar.gz",
            "has_sig": false,
            "md5_digest": "6e2fe60b567a27335d80f759f4e06c75",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.12,>=3.11",
            "size": 25216,
            "upload_time": "2024-08-21T19:05:27",
            "upload_time_iso_8601": "2024-08-21T19:05:27.202565Z",
            "url": "https://files.pythonhosted.org/packages/d5/50/66dae3454b4fd23ea72b92e04bb61e0e795b30f0899f08b4ab636acb0f6b/rqle_ai_langchain_util-0.3.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-21 19:05:27",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "rqle-ai-langchain-util"
}
        
Elapsed time: 0.36013s