Files
task-69970ff6d6d3a5544a3def7a/main.py
T
2026-05-25 21:02:21 +00:00

34 lines
1017 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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. **Handson** 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?"))
```