Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ AZURE_OPENAI_API_VERSION="2024-10-21"
AZURE_OPENAI_MODEL_CHAT="gpt-4o"
AZURE_OPENAI_MODEL_EMBEDDING="text-embedding-3-small"

# LangSmith Settings
LANGSMITH_API_KEY="YOUR_LANGSMITH_API_KEY"

# CSV Loader Settings
CSV_LOADER_DATA_DIR_PATH="./data"

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,4 @@ cython_debug/
*.env
requirements.txt
assets/
.langgraph_api
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,11 @@ docs-serve: ## serve documentation

.PHONY: ci-test-docs
ci-test-docs: install-deps-docs docs ## run CI test for documentation

# ---
# Project
# ---

.PHONY: langgraph-studio
langgraph-studio: ## run LangGraph Studio
uv run langgraph dev --no-reload
9 changes: 9 additions & 0 deletions langgraph.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"dependencies": [
"."
],
"graphs": {
"basic_workflow_agent": "template_langgraph.agents.basic_workflow_agent.agent:graph"
},
"env": ".env"
}
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ docs = [
dev-dependencies = [
"coverage>=7.8.0",
"jupyterlab>=4.4.2",
"langgraph-cli[inmem]>=0.3.6",
"pre-commit>=4.2.0",
"pytest>=8.3.5",
"pytest-cov>=6.1.1",
Expand Down
3 changes: 3 additions & 0 deletions template_langgraph/agents/basic_workflow_agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@ def run_agent(self, input: AgentInput) -> AgentOutput:
def draw_mermaid_png(self) -> bytes:
"""Draw the graph in Mermaid format."""
return self.create_graph().get_graph().draw_mermaid_png()


graph = BasicWorkflowAgent().create_graph()
346 changes: 346 additions & 0 deletions uv.lock

Large diffs are not rendered by default.