wxai-langchain


Namewxai-langchain JSON
Version 0.0.4 PyPI version JSON
download
home_page
Summarywxai-langchain enables the use of IBM watsonx.ai in LangChain projects. This is not supported by IBM.
upload_time2023-09-21 13:27:46
maintainer
docs_urlNone
author
requires_python>=3.9
license
keywords watsonx.ai wxai langchain
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # IBM watsonx.ai LangChain interface

This is a Python library to add a LangChain interface to IBM watsonx.ai. This is not an IBM project and is not supported by IBM.

GitHub repo: https://github.com/rampadc/wxai-langchain

```shell
pip install wxai-langchain==0.0.4
```

## v0.0.4

Version 0.0.4 is a breaking change and uses ibm-watson-machine-learning SDK to use the syntatic sugars that comes with the SDK.

```shell
pip install -e '.[dev]'
```

Examples:

1. Create a new `.env` file `examples/0.0.4` with contents

```
API_KEY=
PROJECT_ID=
```

2. Run the examples with 

```shell
python examples/0.0.4/<example-file>.py
```

## v0.0.2

Version 0.0.2 does not use ibm-watson-machine-learning SDK.

To install,

```shell
pip install wxai-langchain==0.0.2
```

To use, see the examples folder. This LangChain interface is not compatible with IBM's GenAI GenerateParams schema object.
Always use a JSON for the model's parameters as shown in the examples.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "wxai-langchain",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "watsonx.ai,wxai,langchain",
    "author": "",
    "author_email": "Cong Nguyen <cong.nguyen@au1.ibm.com>",
    "download_url": "https://files.pythonhosted.org/packages/a8/fc/ba1fd629340f23262ddbb4c2c74cde465e5529806e8369d8253dd16616e6/wxai-langchain-0.0.4.tar.gz",
    "platform": null,
    "description": "# IBM watsonx.ai LangChain interface\n\nThis is a Python library to add a LangChain interface to IBM watsonx.ai. This is not an IBM project and is not supported by IBM.\n\nGitHub repo: https://github.com/rampadc/wxai-langchain\n\n```shell\npip install wxai-langchain==0.0.4\n```\n\n## v0.0.4\n\nVersion 0.0.4 is a breaking change and uses ibm-watson-machine-learning SDK to use the syntatic sugars that comes with the SDK.\n\n```shell\npip install -e '.[dev]'\n```\n\nExamples:\n\n1. Create a new `.env` file `examples/0.0.4` with contents\n\n```\nAPI_KEY=\nPROJECT_ID=\n```\n\n2. Run the examples with \n\n```shell\npython examples/0.0.4/<example-file>.py\n```\n\n## v0.0.2\n\nVersion 0.0.2 does not use ibm-watson-machine-learning SDK.\n\nTo install,\n\n```shell\npip install wxai-langchain==0.0.2\n```\n\nTo use, see the examples folder. This LangChain interface is not compatible with IBM's GenAI GenerateParams schema object.\nAlways use a JSON for the model's parameters as shown in the examples.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "wxai-langchain enables the use of IBM watsonx.ai in LangChain projects. This is not supported by IBM.",
    "version": "0.0.4",
    "project_urls": {
        "Homepage": "https://github.com/rampadc/wxai-langchain",
        "source": "https://github.com/rampadc/wxai-langchain"
    },
    "split_keywords": [
        "watsonx.ai",
        "wxai",
        "langchain"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "938aa44759fb3fa9d29f09b49dd4fbbde116f1c2a163e0e637f654b805753f0d",
                "md5": "67e5696fb83574cee1c7115a322e4835",
                "sha256": "5ecce8187cfc9c172f0b377d8f661780ad6c8f5da2367a6d0524e47be72f0124"
            },
            "downloads": -1,
            "filename": "wxai_langchain-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "67e5696fb83574cee1c7115a322e4835",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 8033,
            "upload_time": "2023-09-21T13:27:44",
            "upload_time_iso_8601": "2023-09-21T13:27:44.238194Z",
            "url": "https://files.pythonhosted.org/packages/93/8a/a44759fb3fa9d29f09b49dd4fbbde116f1c2a163e0e637f654b805753f0d/wxai_langchain-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a8fcba1fd629340f23262ddbb4c2c74cde465e5529806e8369d8253dd16616e6",
                "md5": "e4155da854d2b989fc78f7f6ece144e9",
                "sha256": "2539b541c477371cc74179bc045b399af812cc3a89f6259b7dd2e72c49d4e22e"
            },
            "downloads": -1,
            "filename": "wxai-langchain-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "e4155da854d2b989fc78f7f6ece144e9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 11925,
            "upload_time": "2023-09-21T13:27:46",
            "upload_time_iso_8601": "2023-09-21T13:27:46.362906Z",
            "url": "https://files.pythonhosted.org/packages/a8/fc/ba1fd629340f23262ddbb4c2c74cde465e5529806e8369d8253dd16616e6/wxai-langchain-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-21 13:27:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rampadc",
    "github_project": "wxai-langchain",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "wxai-langchain"
}
        
Elapsed time: 0.12156s