https://github.com/joshua-briggs/langchain-agentic-prompt-engineering
This repository introduces LangChain Agentic Prompt Engineering, demonstrating how to set up a ChatPromptTemplate for AI interactions. It guides you in configuring input variables and integrating these prompts with a language model.
https://github.com/joshua-briggs/langchain-agentic-prompt-engineering
jupyter-notebook langchain langchain-python prompt prompt-engineering python
Last synced: 7 months ago
JSON representation
This repository introduces LangChain Agentic Prompt Engineering, demonstrating how to set up a ChatPromptTemplate for AI interactions. It guides you in configuring input variables and integrating these prompts with a language model.
- Host: GitHub
- URL: https://github.com/joshua-briggs/langchain-agentic-prompt-engineering
- Owner: Joshua-Briggs
- Created: 2025-02-01T12:03:26.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-02-01T13:20:05.000Z (9 months ago)
- Last Synced: 2025-02-01T14:25:18.498Z (9 months ago)
- Topics: jupyter-notebook, langchain, langchain-python, prompt, prompt-engineering, python
- Language: Jupyter Notebook
- Homepage:
- Size: 63.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to LangChain Prompts Setup 🚀
This guide is a beginner-friendly introduction to setting up your Python environment and using Prompts with LangChain. We'll walk you through each step to ensure you have everything ready for a smooth start!
## 🛠 Setting Up the Environment
Follow these steps to set up your environment:
1. **Navigate to the Project Directory**:
```bash
cd example-chapter
```2. **Install Python 3.12.7** (skip if already installed):
```bash
uv python install 3.12.7
```3. **Create a Virtual Environment**:
```bash
uv venv --python 3.12.7
```4. **Activate the Virtual Environment**:
For Windows:
```bash
.\venv\Scripts\activate
```
For macOS and Linux:
```bash
source venv/bin/activate
```5. **Install Dependencies**:
```bash
uv sync
```Now, you are ready to run the project within this environment. Let's dive into the world of Prompt Engineering configurations! 🌐🔧
Feel free to reach out if you encounter any issues or have questions as you proceed. Happy coding! 😊