Skip to main content

Langchain LLM

PyPI version License: MIT

Description

ChatGPT Browser API is a Python library that allows you to use Langchain with the ChatGPT instance in your browser.

With a Plus subscription, you can take advantage of GPT4 without the need for an API key.

Installation

You can install ChatGPT Browser API via pip. Run the following command to install it:

pip install chatgpt-browser-api

Ensure that you have Python 3.6 or a higher version installed on your system.

Usage

Once installed, you can import ChatGPT Browser API. Here's a basic example to get you started:

from chatgpt_browser_api import BaseChatGPT

# Create an instance of LangchainLLM
llm = BaseChatGPT(chatgpt_web_api_url="http://localhost:3001")

answer = chatgpt("Write your prompt here")

print(answer)

To start the web server located at chatgpt_web_api_url, see ChatGPT-Web-API

Contributing

Contributions are welcome! If you have any ideas, bug reports, or feature requests, please open an issue or submit a pull request on GitHub.

License

This library is licensed under the MIT License. See the LICENSE file for more information.


Please note that you may need to replace certain sections, such as the license badge and the GitHub repository link, with the appropriate information for your project.

Metadata

Release files for langchain-chatgpt-browser-api 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-chatgpt-browser-api 0.0.1
File Size Uploaded
langchain-chatgpt-browser-api-0.0.1.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-chatgpt-browser-api 0.0.1
File Interpreter ABI Platform
langchain_chatgpt_browser_api-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / langchain-chatgpt-browser-api-0.0.1.tar.gz

Download URL langchain-chatgpt-browser-api-0.0.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0eb02b2de6707a67f02e3e86c0d0cc762569332d76fe64abce5658efe5df98eb
BLAKE2b-256 checksum
How to use checksums
6a18bf823abcd96b548163065e3e74ad1e20fcec40759a93668f18740ee4c9c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / langchain_chatgpt_browser_api-0.0.1-py3-none-any.whl

Download URL langchain_chatgpt_browser_api-0.0.1-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
617bdf8de45886e7dec08357525b00d842b1fcd000d5fc3240dbd3d299a73fd7
BLAKE2b-256 checksum
How to use checksums
db7edd54d62ac193d4a93bbbd1492c244f001c3db005e894cc861175fb93b10b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page