Files
ekzamen-samokorrektiruyusch…/README.md
T

25 lines
792 B
Markdown
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.
# LangGraph Reflection & Rewriting Demo
This project demonstrates a simple LangGraph state machine that includes:
- **Reflection node** logs the current state.
- **Rewriting node** transforms the input string to uppercase.
- **End node** logs the final state.
## Setup
```bash
npm install
npm run build
npm start
```
The output will show the state at each node and the final transformed result.
## Project Structure
- `src/langgraph.ts` Defines the state type, node functions, and constructs the graph.
- `src/index.ts` Entry point that runs the graph with an example input.
- `package.json` Project metadata and dependencies.
- `tsconfig.json` TypeScript compiler configuration.
No JavaScript files are present; the entire project is written in TypeScript.