From 84c6a4c6b76ded91a39ecfe22aecf201bb9ffcb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D0=BB=D0=B5=D0=B1=20=D0=9D=D0=B8=D0=BA=D0=B8=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Mon, 25 May 2026 21:02:21 +0000 Subject: [PATCH] add main.py --- main.py | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..8b45c91 --- /dev/null +++ b/main.py @@ -0,0 +1,33 @@ +# Personal AI Fluency Plan + +## Overview +This plan outlines the steps to develop AI fluency using the framework from the Ai Fluency course. + +## Goals +1. Understand core concepts of AI fluency. +2. Apply LangChain and LangGraph to build simple agents. +3. Create a personal learning roadmap. + +## Plan +1. **Foundations** – Complete the course modules. +2. **Hands‑on** – Build a small LangChain chain that answers a question. +3. **LangGraph** – Create a graph that routes queries to different tools. +4. **Reflection** – Document lessons learned and next steps. + +## Deliverable +A written plan (this file) and a minimal working example in `main.py`. + +## Example Code +```python +from langchain import OpenAI, LLMChain +from langchain.prompts import PromptTemplate + +prompt = PromptTemplate( + input_variables=["question"], + template="Answer the following question concisely: {question}" +) +llm = OpenAI(temperature=0.7) +chain = LLMChain(llm=llm, prompt=prompt) + +print(chain.run(question="What is AI fluency?")) +```