MCPcopy Create free account

hub / github.com/SqueezeAILab/TinyAgent / functions

Functions338 in github.com/SqueezeAILab/TinyAgent

↓ 1 callersFunctionadd_dependencies
(dependencies: list[Any], node_name: str)
src/utils/graph_utils.py:34
↓ 1 callersMethodainvoke
( self, input: Union[str, Dict], config: Optional[RunnableConfig] = None, **kw
src/tools/base.py:106
↓ 1 callersMethodaplan
Given input, asynchronously decide what to do.
src/llm_compiler/planner.py:334
↓ 1 callersMethodaplan
Given input, decided what to do. Args: intermediate_steps: Steps the LLM has taken to date, along with observatio
src/agents/agent.py:127
↓ 1 callersMethodappend_to_note
Appends content to an existing note by its name. If the exact name is not found, attempts fuzzy matching to find the closest note.
src/tiny_agent/tools/notes.py:127
↓ 1 callersMethodapply
Utilize the LLM generate method for speed gains.
src/chains/llm_chain.py:223
↓ 1 callersMethodaprep_prompts
Prepare prompts from inputs.
src/chains/llm_chain.py:197
↓ 1 callersMethodarun
(self, prompt: str, callbacks=None)
src/llm_compiler/llm_compiler.py:29
↓ 1 callersMethodaschedule
Asynchronously listen to task_queue and schedule tasks as they arrive.
src/llm_compiler/task_fetching_unit.py:149
↓ 1 callersFunctioncompare_dependencies
(d1, d2)
src/utils/graph_utils.py:114
↓ 1 callersMethodcompose_email
Composes a new email with the given recipients, subject, content, and attaches files from the given paths. Adds cc recipients if prov
src/tiny_agent/tools/mail.py:11
↓ 1 callersMethodcreate_event
Creates a new event with the given title, start date, end date, location, and notes.
src/tiny_agent/tools/calendar.py:12
↓ 1 callersMethodcreate_note
Creates a new note with the given content and focuses on it. If a folder is specified, the note is created in that folder; otherwise,
src/tiny_agent/tools/notes.py:16
↓ 1 callersMethodcreate_prompt
( cls, tools: Sequence[BaseTool], prefix: str = PREFIX, suffix: str = SUFFIX,
src/agents/structured_chat_agent.py:74
↓ 1 callersMethodcreate_reminder
( self, name: str, due_date: datetime.datetime | None = None, notes: str = "",
src/tiny_agent/tools/reminders.py:12
↓ 1 callersFunctioncreate_schema_from_function
Create a pydantic schema from a function's signature. Args: model_name: Name to assign to the generated pydandic schema func: Func
src/tools/base.py:57
↓ 1 callersFunctiondefault_dependency_rule
(idx, args: str)
src/llm_compiler/output_parser.py:19
↓ 1 callersFunctiondeserialize_data
(data_json: dict[str, Any])
src/utils/data_utils.py:106
↓ 1 callersMethoddict
Dictionary representation of chain. Expects `Chain._chain_type` property to be implemented and for memory to be null. Ar
src/chains/chain.py:584
↓ 1 callersMethoddict
Return dictionary representation of agent.
src/agents/agent.py:60
↓ 1 callersFunctionempty_queue
(q: asyncio.Queue)
run_tiny_agent_server.py:37
↓ 1 callersFunctionenable_logging
Toggle logging on or off based on the given argument.
src/utils/logger_utils.py:63
↓ 1 callersFunctionenable_logging_to_file
Toggle logging on or off based on the given argument.
src/utils/logger_utils.py:69
↓ 1 callersFunctionensure_phone_number_formatting
( phone_numbers: Sequence[str], computer: Computer )
src/tiny_agent/tiny_agent_tools.py:30
↓ 1 callersMethodfinalize
(self)
src/llm_compiler/planner.py:146
↓ 1 callersMethodforward_email
Forwards the currently selected email in Mail to the given recipients with the given content.
src/tiny_agent/tools/mail.py:93
↓ 1 callersMethodfrom_function
Initialize tool from a function.
src/tools/base.py:198
↓ 1 callersFunctiongenerate
()
run_tiny_agent_server.py:86
↓ 1 callersMethodget_allowed_tools
(self)
src/agents/agent.py:71
↓ 1 callersFunctionget_append_note_content_tool
(computer: Computer, notes_agent: NotesAgent)
src/tiny_agent/tiny_agent_tools.py:508
↓ 1 callersFunctionget_compose_new_email_tool
( computer: Computer, compose_email_agent: ComposeEmailAgent )
src/tiny_agent/tiny_agent_tools.py:241
↓ 1 callersFunctionget_create_calendar_event_tool
(computer: Computer)
src/tiny_agent/tiny_agent_tools.py:118
↓ 1 callersFunctionget_create_note_tool
(computer: Computer, notes_agent: NotesAgent)
src/tiny_agent/tiny_agent_tools.py:461
↓ 1 callersFunctionget_create_reminder_tool
(computer: Computer)
src/tiny_agent/tiny_agent_tools.py:541
↓ 1 callersFunctionget_email_address_tool
(computer: Computer)
src/tiny_agent/tiny_agent_tools.py:93
↓ 1 callersMethodget_email_content
Gets the content of the currently viewed email in Mail.
src/tiny_agent/tools/mail.py:135
↓ 1 callersFunctionget_embedding_model
( model_type: str, model_name: str, api_key: str, azure_embedding_deployment: str, azure_e
src/utils/model_utils.py:83
↓ 1 callersFunctionget_forward_email_tool
(computer: Computer)
src/tiny_agent/tiny_agent_tools.py:356
↓ 1 callersFunctionget_maps_open_location_tool
(computer: Computer)
src/tiny_agent/tiny_agent_tools.py:403
↓ 1 callersFunctionget_maps_show_directions_tool
(computer: Computer)
src/tiny_agent/tiny_agent_tools.py:420
↓ 1 callersMethodget_meeting_link
Create a new Zoom meeting and return the join URL.
src/tiny_agent/tools/zoom.py:25
↓ 1 callersFunctionget_open_and_get_file_path_tool
(computer: Computer)
src/tiny_agent/tiny_agent_tools.py:194
↓ 1 callersFunctionget_open_note_tool
(computer: Computer)
src/tiny_agent/tiny_agent_tools.py:491
↓ 1 callersFunctionget_parsed_planner_output
(tasks: dict[int, Any])
src/utils/plan_utils.py:62
↓ 1 callersFunctionget_phone_number_tool
(computer: Computer)
src/tiny_agent/tiny_agent_tools.py:64
↓ 1 callersFunctionget_reply_to_email_tool
( computer: Computer, compose_email_agent: ComposeEmailAgent )
src/tiny_agent/tiny_agent_tools.py:304
↓ 1 callersFunctionget_send_sms_tool
(computer: Computer)
src/tiny_agent/tiny_agent_tools.py:596
↓ 1 callersFunctionget_summarize_pdf_tool
( computer: Computer, pdf_summarizer_agent: PDFSummarizerAgent )
src/tiny_agent/tiny_agent_tools.py:209
↓ 1 callersFunctionget_tool_names_from_apps
(apps: Collection[App])
src/tiny_agent/tiny_agent_tools.py:707
↓ 1 callersFunctionget_whisper_config
(config: dict[str, Any], provider: str)
src/tiny_agent/config.py:120
↓ 1 callersFunctionget_zoom_meeting_link_tool
( computer: Computer, zoom_access_token: str | None )
src/tiny_agent/tiny_agent_tools.py:617
↓ 1 callersMethodingest_token
(self, token: str)
src/llm_compiler/planner.py:132
↓ 1 callersFunctionload_config
(config_path: str)
src/tiny_agent/config.py:44
↓ 1 callersFunctionnode_match
(n1: dict, n2: dict)
src/utils/graph_utils.py:109
↓ 1 callersMethodopen_location
Opens the specified location in Apple Maps. The query can be a place name, address, or coordinates.
src/tiny_agent/tools/maps.py:11
↓ 1 callersMethodparse
(self, text: str)
src/llm_compiler/output_parser.py:32
↓ 1 callersFunctionparse_plan
(plan: str)
src/utils/plan_utils.py:29
↓ 1 callersMethodplan
( self, inputs: dict, is_replan: bool, callbacks: Callbacks = None, **kwargs: Any )
src/llm_compiler/planner.py:325
↓ 1 callersMethodplan
Given input, decided what to do. Args: intermediate_steps: Steps the LLM has taken to date, along with observatio
src/agents/agent.py:99
↓ 1 callersMethodprep_prompts
Prepare prompts from inputs.
src/chains/llm_chain.py:171
↓ 1 callersMethodreply_to_email
Replies to the currently selected email in Mail with the given content.
src/tiny_agent/tools/mail.py:54
↓ 1 callersMethodresample_audio
Resample the audio to the target sample rate which the Whisper server expects
src/tiny_agent/transcription.py:33
↓ 1 callersMethodretrieve_examples_and_tools
Returns the in-context examples as a formatted prompt and the tools that are relevant to the query.
src/tiny_agent/tool_rag/base_tool_rag.py:71
↓ 1 callersMethodsave
Raise error - saving not supported for Agent Executors.
src/executors/agent_executor.py:146
↓ 1 callersMethodschedule
Run all tasks in self.tasks in parallel, respecting dependencies.
src/llm_compiler/task_fetching_unit.py:136
↓ 1 callersMethodsend
Opens an SMS draft to the specified recipient using the Messages app, without sending it, by simulating keystrokes.
src/tiny_agent/tools/sms.py:11
↓ 1 callersMethodshow_directions
Shows directions from a start location to an end location in Apple Maps. The transport parameter defaults to 'd' (driving), but can a
src/tiny_agent/tools/maps.py:22
↓ 1 callersMethodtranscribe
Transcribe the audio to text using Whisper.
src/tiny_agent/transcription.py:27
↓ 1 callersMethodtranscribe
This method transcribes the audio data to text using Whisper.
src/tiny_agent/transcription.py:112
Method__call__
(self)
src/llm_compiler/task_fetching_unit.py:53
Method__call__
Execute the chain. Args: inputs: Dictionary of inputs, or single input if chain expects only one param. Should co
src/chains/chain.py:238
Method__call__
( self, name: str, content: str, prev_content: str = "", mode: NotesMo
src/tiny_agent/sub_agents/notes_agent.py:12
Method__call__
( self, context: str, email_thread: str = "", mode: ComposeEmailMode = Compose
src/tiny_agent/sub_agents/compose_email_agent.py:21
Method__call__
(self, pdf_path: str)
src/tiny_agent/sub_agents/pdf_summarizer_agent.py:16
Method__call__
(self, *args, **kwargs)
src/tiny_agent/sub_agents/sub_agent.py:35
Method__init__
Initialize tool.
src/tools/base.py:189
Method__init__
(self)
src/utils/logger_utils.py:22
Method__init__
(self, tools: Sequence[Union[Tool, StructuredTool]])
src/llm_compiler/planner.py:98
Method__init__
( self, queue: asyncio.Queue[Optional[str]], tools: Sequence[Union[Tool, StructuredToo
src/llm_compiler/planner.py:164
Method__init__
( self, llm: BaseChatModel | BaseLLM, custom_instructions: str | None, example
src/llm_compiler/planner.py:251
Method__init__
(self, llm: BaseLLM)
src/llm_compiler/llm_compiler.py:26
Method__init__
Args: tools: List of tools to use. max_replans: Maximum number of replans to do. benchmark: Whether to co
src/llm_compiler/llm_compiler.py:51
Method__init__
(self, tools: Sequence[Union[Tool, StructuredTool]], **kwargs)
src/llm_compiler/output_parser.py:28
Method__init__
(self)
src/llm_compiler/task_fetching_unit.py:87
Method__init__
(self, stream: bool = False)
src/callbacks/callbacks.py:48
Method__init__
(self, config: TinyAgentConfig)
src/tiny_agent/transcription.py:23
Method__init__
(self, config: TinyAgentConfig)
src/tiny_agent/transcription.py:40
Method__init__
(self, config: TinyAgentConfig)
src/tiny_agent/transcription.py:69
Method__init__
(self, client: WhisperClient)
src/tiny_agent/transcription.py:109
Method__init__
(self, config: TinyAgentConfig)
src/tiny_agent/tiny_agent.py:36
Method__init__
(self)
src/tiny_agent/computer.py:23
Method__init__
(self)
src/tiny_agent/tools/calendar.py:9
Method__init__
(self)
src/tiny_agent/tools/notes.py:13
Method__init__
(self, access_token: str)
src/tiny_agent/tools/zoom.py:22
Method__init__
(self)
src/tiny_agent/tools/sms.py:8
Method__init__
(self)
src/tiny_agent/tools/reminders.py:9
Method__init__
(self)
src/tiny_agent/tools/spotlight_search.py:10
Method__init__
(self)
src/tiny_agent/tools/contacts.py:7
Method__init__
(self)
src/tiny_agent/tools/mail.py:8
Method__init__
(self)
src/tiny_agent/tools/maps.py:8
← previousnext →101–200 of 338, ranked by callers