Closed FayazRahman closed 1 year ago
loopgpt.aifunc
loopgpt.set_aifunc_args
Agent(tools=[...])
with
with agent.query(...)
with agent.complete(...)
loopgpt.aifunc
decorator allows us to write AI functions with documentation only, and it can return python literals.loopgpt.set_aifunc_args
to set which model and embedding provider AI functions would use.Agent(tools=[...])
with
context of an agent.with agent.query(...)
can be used to control the context of the agent for any purpose.with agent.complete(...)
can be used to add additional history for the agent.