Skip to content

Build large language model (LLM) apps with Python, ChatGPT and other models. This is the companion repository for the book on generative AI with LangChain.

License

Notifications You must be signed in to change notification settings

137particles/generative_ai_with_langchain

 
 

Repository files navigation

Generative AI with LangChain, First Edition

137 Particles Fork

Welcome to my fork of the codebase for the "Generative AI" book. This repository is entirely based on the original author's code. My objective here is to make and track bug fixes and improvements as I progress through the text. It's important to note that I do not claim any ownership of this code. All rights and the chosen license remain as specified by the original author.

The purpose of this file is to document my personal notes and changes specific to this fork.

For reference, the original README.md from the base repository has been renamed to ORIGINAL_README.md in this fork.

Getting Started with the Docker Container

To launch the Docker container and pass in your OpenAI API key, use the following command:

docker run -d -p 8888:8888 -e OPENAI_API_KEY="PUT_YOUR_API_KEY_HERE" langchain_ai

Replace PUT_YOUR_API_KEY_HERE with your actual OpenAI API key.

Accessing the Shell of the Docker Container

If you need to access the shell of the running Docker container, execute this command:

docker exec -it $(docker ps --filter "ancestor=langchain_ai" -q | head -n 1) /bin/bash

This command will open a Bash shell in the first langchain_ai container instance that it finds running.

About

Build large language model (LLM) apps with Python, ChatGPT and other models. This is the companion repository for the book on generative AI with LangChain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 86.7%
  • Python 11.9%
  • Other 1.4%