Better HN
topnewbestaskshowjobs
Log inSign up

jgilhuly

3 karma · joined Sep 26, 2024 (2y ago) · 4 submissions

Submissions

1.

Agents, LLM Evals, OpenTelemetry – Lessons from Building Arize Phoenix in 2024

15 points · by jgilhuly · 1y ago · discuss

comment 2y ago · link · parent

We'll check it out! Definitely interested in finding the right level of abstraction in these frameworks

comment 2y ago · link · parent

That's true, you could not use the ToolNode object and define your own logic to handle tools. You do need to use at least the @tool decorator in order to attach those functions to a model using LangGraph's bind_tools function.

Defining some of the functions as tools was where some of the "self" parameter issues mentioned in the TDS write up came up - since those parameters aren't added by the LLM, but LangGraph/Pydantic errors if there missing.

Technically you could forgo using the ToolNode object, not define your functions as tools, not use the bind_tools method, and potentially not use Langchain's model abstractions - but at that point, you're not using much of the framework at all.

Let me know if I'm missing something there!

4.

Should I Use a Framework to Build an Agent? Code vs. LangGraph vs. Workflows

21 points · by jgilhuly · 2y ago · 6 comments