5 min readJust now

Modern AI chats can do more than just reply with text — they can call small “tool” functions to fetch data or perform tasks. Think of a function as a mini-program the AI can execute (for example, looking up weather or doing math). By composing and decomposing such functions, we can break complex queries into pieces or chain multiple steps, leading to more accurate and even empathetic conversations. In practice, we might define one function to generate a response and another to tweak its tone, then compose them (call one after the other). We can also decompose a user’s request into sub-requests handl…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help