Skip to main content

A command line interface for LangChain.

Reason this release was yanked:

comandeering

Project description

LangChain CLI

LangChain CLI is a command-line interface tool for interacting with the LangChain Python Agent Toolkit. It provides a set of commands to help you create solutions with the help of LangChain, OpenAI, and Python REPL.

Features

  • LangChain accessible through CLI
  • No need to save OpenAI Key locally/remotely
  • Ability to decide the Temperature of the model
  • Decide the number of tokens to be spend during runtime

Installation

To use LangChain CLI, you need to have pip installed on your system.

pip install langchain-cli

Usage

After installing LangChain CLI, you can access the command-line interface by running langchain-cil in your terminal.

langchain-cli

To view the version of langchain-cli installed in your system:

langchain-cli version

To use langchain-cli to access LangChain Python Agent Toolkit:

langchain-cli --temp 0 --tokens 1024

Contributing

If you would like to contribute to LangChain CLI, please fork the repository and submit a pull request. We welcome all contributions, including bug fixes and new features. Please refer to the Contributing guidelines before submitting a PR.

License

LangChain CLI is released under the MIT License.

Citation

Bhattacharjee, R. (2023) LangChain-CLI [Computer software]. https://github.com/rajtilakjee/langchain-cli

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_cli-0.0.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

langchain_cli-0.0.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file langchain_cli-0.0.2.tar.gz.

File metadata

  • Download URL: langchain_cli-0.0.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Windows/10

File hashes

Hashes for langchain_cli-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9f6f682ff97bd6ba41bf4192534752510d36804b51a39a3ca974333c9443827c
MD5 91ab4ea9749c1160fff251802b568556
BLAKE2b-256 18945a8293c1c42a43ce1ec6d203158bf771a86bd513bbb9744367ecb139d2c7

See more details on using hashes here.

File details

Details for the file langchain_cli-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: langchain_cli-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Windows/10

File hashes

Hashes for langchain_cli-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3ab005348985d2ad70b13fe65e60c49ae6dd137aa747768a4571b3c279d7c96d
MD5 0f3bd61ce654c5b83a427c350de99167
BLAKE2b-256 276f233efc73ff3eb91c5380db207e51e644ebd3374ae200795597cef1753c14

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page