Skip to content

Enhance your applications with a straightforward Langchain LLM that leverages a ChatGPT instance within your browser. With a Plus subscription, you gain access to GPT4 seamlessly, without the need for an API key.

License

Notifications You must be signed in to change notification settings

zjplab/langchain-chatgpt-browser-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Langchain LLM

PyPI version License: MIT

Description

Langchain ChatGPT Browser API is a Langchain implementation of ChatGPT-Web-API. It allows you to use the ChatGPT instance in your browser in a Langchain project.

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 langchain-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 ChatGPTBrowserAPI import BrowserChatGPT

# Create an instance of LangchainLLM
llm = BrowserChatGPT(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.

About

Enhance your applications with a straightforward Langchain LLM that leverages a ChatGPT instance within your browser. With a Plus subscription, you gain access to GPT4 seamlessly, without the need for an API key.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%