Skip to content

Commit

Permalink
Merge pull request #4 from r-carroll/readme-docs
Browse files Browse the repository at this point in the history
Adding links to documentation
  • Loading branch information
rbs333 authored Jan 22, 2025
2 parents 173fd86 + 0ebff96 commit edeed3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ Open [participant_agent/graph.py](./participant_agent/graph.py)

### Note: instructor will be going through this in detail if you get confused.

> To see an example of creating a graph and adding a node, see the [LangGraph docs](https://langchain-ai.github.io/langgraph/tutorials/introduction/#part-1-build-a-basic-chatbot)
- Uncomment lines 26-47
- Delete line 48 (graph = None) - this is just a placeholder.
- Define node 1, the agent, by passing a label `"agent"` and the code to execute at that node `call_tool_model`
Expand All @@ -171,6 +173,9 @@ On the trail, you may have to do some planning in regards to how much food you w
**Options**: [A: 100lbs, B: 20lbs, C: 5lbs, D: 80lbs] <br>

### Steps:
> For an example on creating a tool, see the [LangChain docs](https://python.langchain.com/docs/how_to/custom_tools/)
> If you've not used types with Python before, [see the Pydantic docs](https://docs.pydantic.dev/latest/concepts/fields/)
- Open [participant_agent/utils/tools.py](./participant_agent/utils/tools.py) update the restock-tool description with a meaningful doc_string that provides context for the LLM.
Ex: `restock formula tool used specifically for calculating the amount of food at which you should start restocking.`
- Implement the restock formula: `(daily_usage * lead_time) + safety_stock`
Expand Down

0 comments on commit edeed3f

Please sign in to comment.