run
Class info¶
Classes¶
Name | Children | Inherits |
---|---|---|
Agent llmling_agent.agent.agent Agent for AI-powered interaction with LLMling resources and tools. |
||
ImageURLContent llmling_agent.models.content Image from URL. |
🛈 DocStrings¶
Functional wrappers for Agent usage.
run_agent
async
¶
run_agent(
prompt: AnyPromptType | Image | PathLike[str],
image_url: str | None = None,
*,
result_type: type[Any] | None = None,
**kwargs: Unpack[AgentKwargs],
) -> Any
Run prompt through agent and return result.
Source code in src/llmling_agent/functional/run.py
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
|
run_agent_sync
¶
run_agent_sync(
prompt: AnyPromptType | Image | PathLike[str],
image_url: str | None = None,
*,
result_type: type[Any] | None = None,
**kwargs: Unpack[AgentKwargs],
) -> Any
Sync wrapper for run_agent.
Source code in src/llmling_agent/functional/run.py
77 78 79 80 81 82 83 84 85 86 |
|