MCPcopy Create free account

hub / github.com/coleam00/ottomator-agents / functions

Functions1,846 in github.com/coleam00/ottomator-agents

↓ 2 callersMethodcleanup
Clean up resources by closing sessions and clearing tool lists.
thirdbrain-mcp-openai-agent/mcp_client.py:435
↓ 2 callersMethodcleanup_servers
Clean up all servers properly.
pydantic-ai-mcp-agent/mcp_client.py:54
↓ 2 callersMethodcleanup_servers
Clean up all servers properly.
pydantic-ai-mcp-agent/extras/experimental_mcp_client.py:55
↓ 2 callersMethodclose
Close Graphiti connection.
agentic-rag-knowledge-graph/agent/graph_utils.py:119
↓ 2 callersFunctionclose_database
Close database connection pool.
agentic-rag-knowledge-graph/agent/db_utils.py:78
↓ 2 callersFunctionclose_graph
Close graph client.
agentic-rag-knowledge-graph/agent/graph_utils.py:365
↓ 2 callersMethodconnect_to_server
Connect to the MCP server using the configuration file. Raises: ConfigurationError: If the configuration file is
thirdbrain-mcp-openai-agent/mcp_client.py:115
↓ 2 callersMethodcount_documents
Count the total number of unique documents in the database. Returns: Number of unique documents (based on unique
foundational-rag-agent/database/setup.py:135
↓ 2 callersFunctioncount_tokens
Count tokens in text using tiktoken. Args: text: The text to count tokens in model: The model name for encoding selection
claude-agent-sdk-demos/PRPs/examples/ai_docs/openai_converter.py:21
↓ 2 callersFunctioncreate_chunker
Create appropriate chunker based on configuration. Args: config: Chunking configuration Returns: Chunker instance
docling-rag-agent/ingestion/chunker.py:376
↓ 2 callersFunctioncreate_chunker
Create appropriate chunker based on configuration. Args: config: Chunking configuration Returns: Chunker instance
all-rag-strategies/implementation/ingestion/chunker.py:376
↓ 2 callersFunctioncreate_claude_agent
Async context manager for creating and managing a Claude agent. Args: working_directory: Working directory for file operations.
claude-agent-sdk-demos/PRPs/examples/ai_docs/claude_sdk_wrapper.py:190
↓ 2 callersFunctioncreate_contextual_enricher
Create a contextual enricher instance. Args: model: LLM model to use Returns: ContextualEnricher instance
all-rag-strategies/implementation/ingestion/contextual_enrichment.py:163
↓ 2 callersFunctioncreate_dirs
Creates the output directory if it doesn't exist
genericsuite-app-maker-agent/lib/codegen_utilities.py:126
↓ 2 callersFunctioncreate_embedder
Create embedding generator with optional caching. Args: model: Embedding model to use use_cache: Whether to use caching
agentic-rag-knowledge-graph/ingestion/embedder.py:337
↓ 2 callersFunctioncreate_embedder
Create embedding generator with optional caching. Args: model: Embedding model to use use_cache: Whether to use caching
ag-ui-rag-agent/agent/ingestion/embedder.py:337
↓ 2 callersFunctioncreate_graph_builder
Create graph builder instance.
agentic-rag-knowledge-graph/ingestion/graph_builder.py:403
↓ 2 callersFunctioncreate_session
Create a new session. Args: user_id: Optional user identifier metadata: Optional session metadata timeout_minute
agentic-rag-knowledge-graph/agent/db_utils.py:84
↓ 2 callersFunctiondeactivate_stream
Deactivates all streams and marks all replies as inactive for a given session. This function uses the provided session ID to deactivate exis
streambuzz-agent/utils/youtube_util.py:293
↓ 2 callersMethodembed_batch
Generate embeddings for multiple texts in small batches. Args: texts: List of texts to embed batch_s
foundational-rag-agent/document_processing/embeddings.py:82
↓ 2 callersMethodembed_chunks
Generate embeddings for document chunks. Args: chunks: List of document chunks progress_callback: Op
agentic-rag-knowledge-graph/ingestion/embedder.py:208
↓ 2 callersMethodembed_chunks
Generate embeddings for document chunks. Args: chunks: List of document chunks progress_callback: Op
ag-ui-rag-agent/agent/ingestion/embedder.py:208
↓ 2 callersMethodembed_chunks
Generate embeddings for document chunks. Args: chunks: List of document chunks progress_callback: Op
docling-rag-agent/ingestion/embedder.py:208
↓ 2 callersMethodembed_chunks
Generate embeddings for document chunks. Args: chunks: List of document chunks progress_callback: Op
all-rag-strategies/implementation/ingestion/embedder.py:208
↓ 2 callersMethodembed_text
Generate an embedding for a single text with retry logic. Args: text: The text to embed max_retries:
foundational-rag-agent/document_processing/embeddings.py:43
↓ 2 callersMethodenrich_chunks_batch
Enrich multiple chunks with contextual information (with concurrency control). Args: chunks: List of chunk texts to enri
all-rag-strategies/implementation/ingestion/contextual_enrichment.py:103
↓ 2 callersFunctionensure_dir
Ensure a directory exists, create it if it doesn't
ottomarkdown-agent/validation_test.py:64
↓ 2 callersMethodextract_entities_from_chunks
Extract entities from chunks and add to metadata. Args: chunks: List of document chunks extract_comp
agentic-rag-knowledge-graph/ingestion/graph_builder.py:200
↓ 2 callersFunctionextract_tool_calls
Extract tool calls from Pydantic AI result. Args: result: Pydantic AI result object Returns: List of ToolCall o
agentic-rag-knowledge-graph/agent/api.py:178
↓ 2 callersFunctionfetch_articles_from_brave
Fetch articles related to the query using the Brave API. Args: query (str): The search query. session_id (str): The session
tweet-generator-agent/brave_api.py:11
↓ 2 callersFunctiongenerate_completion_id
Generate a unique completion ID in OpenAI format.
claude-agent-sdk-demos/PRPs/examples/ai_docs/openai_converter.py:16
↓ 2 callersFunctiongenerate_completion_id
Generate a unique completion ID in OpenAI format.
claude-agent-sdk-demos/obsidian_integration/openai_converter.py:29
↓ 2 callersFunctiongenerate_embedding
Generate embedding for text using OpenAI. Args: text: Text to embed Returns: Embedding vector
agentic-rag-knowledge-graph/agent/tools.py:39
↓ 2 callersMethodgenerate_embedding
Generate embedding for a single text. Args: text: Text to embed Returns: Embedding
agentic-rag-knowledge-graph/ingestion/embedder.py:74
↓ 2 callersMethodgenerate_embedding
Generate embedding for a single text. Args: text: Text to embed Returns: Embedding
ag-ui-rag-agent/agent/ingestion/embedder.py:74
↓ 2 callersMethodgenerate_embedding
Generate embedding for a single text. Args: text: Text to embed Returns: Embedding
docling-rag-agent/ingestion/embedder.py:74
↓ 2 callersMethodgenerate_embedding
Generate embedding for a single text. Args: text: Text to embed Returns: Embedding
all-rag-strategies/implementation/ingestion/embedder.py:74
↓ 2 callersFunctiongenerate_twitter_drafts
Generate three engaging Twitter drafts based on article content. Args: articles (list): A list of articles with titles, URLs, and de
tweet-generator-agent/openai_api.py:19
↓ 2 callersMethodget_all_document_sources
Get a list of all unique document sources. Returns: List of unique source URLs/identifiers
foundational-rag-agent/database/setup.py:124
↓ 2 callersMethodget_available_ai_providers
Returns the available LLM providers based on the environment variables The model will be available if all its variables are set
genericsuite-app-maker-agent/lib/codegen_streamlit_lib.py:1137
↓ 2 callersMethodget_available_sources
Get a list of all available sources in the knowledge base. Returns: List of source identifiers
foundational-rag-agent/agent/agent.py:110
↓ 2 callersMethodget_available_tools
Retrieve a list of available tools from the MCP server. Simplify the schema for each tool to make it compatible with the OpenAI API.
thirdbrain-mcp-openai-agent/mcp_client.py:494
↓ 2 callersMethodget_betting_odds
Fetch betting odds for a game
nba-agent/agent_trial/nba_agent_1.py:268
↓ 2 callersFunctionget_buttons_config_for_prompt
Returns the buttons configuration for ideation from question (prompt)
genericsuite-app-maker-agent/lib/codegen_app_ideation_lib.py:259
↓ 2 callersMethodget_buttons_submitted_data
Reduce the list of buttons submitted to a single boolean value to determine if the form was submitted
genericsuite-app-maker-agent/lib/codegen_general_lib.py:319
↓ 2 callersFunctionget_conversation_context
Get recent conversation context. Args: session_id: Session ID max_messages: Maximum number of messages to retrieve
agentic-rag-knowledge-graph/agent/api.py:153
↓ 2 callersFunctionget_date_time
Returns a formatted date and time
genericsuite-app-maker-agent/lib/codegen_utilities.py:50
↓ 2 callersFunctionget_document_chunks
Get all chunks for a document. Args: document_id: Document UUID Returns: List of chunks ordered by chunk index
agentic-rag-knowledge-graph/agent/db_utils.py:456
↓ 2 callersFunctionget_embedding
Generates an embedding vector for a given text using the Gemini model. This function uses the `google.generativeai` library to generate an embedd
streambuzz-agent/utils/rag_util.py:144
↓ 2 callersFunctionget_embedding_client
Get OpenAI client for embeddings. Returns: Configured OpenAI client for embeddings
ag-ui-rag-agent/agent/utils/providers.py:32
↓ 2 callersFunctionget_embedding_client
Get OpenAI client for embeddings. Returns: Configured OpenAI client for embeddings
docling-rag-agent/utils/providers.py:32
↓ 2 callersFunctionget_embedding_client
Get OpenAI client for embeddings. Returns: Configured OpenAI client for embeddings
all-rag-strategies/implementation/utils/providers.py:32
↓ 2 callersFunctionget_embedding_model
Get embedding model name. Returns: Embedding model name
ag-ui-rag-agent/agent/utils/providers.py:47
↓ 2 callersFunctionget_embedding_model
Get embedding model name. Returns: Embedding model name
docling-rag-agent/utils/providers.py:47
↓ 2 callersFunctionget_embedding_model
Get embedding model name. Returns: Embedding model name
all-rag-strategies/implementation/utils/providers.py:47
↓ 2 callersMethodget_form_name
Returns the form session state key
genericsuite-app-maker-agent/lib/codegen_streamlit_lib.py:978
↓ 2 callersMethodget_form_session_state_key
Returns the form session state key
genericsuite-app-maker-agent/lib/codegen_streamlit_lib.py:985
↓ 2 callersMethodget_form_session_state_key
Returns the form session state key
genericsuite-app-maker-agent/lib/codegen_general_lib.py:388
↓ 2 callersMethodget_games
Fetch games for a specific date
nba-agent/agent_trial/nba_agent_1.py:206
↓ 2 callersFunctionget_ideation_form_config
Returns the ideation form configuration
genericsuite-app-maker-agent/lib/codegen_app_ideation_lib.py:297
↓ 2 callersMethodget_last_retrieved_conversation
Get the last retrieved conversation. If "last_retrieved_conversation" entry is found and the id matches, return the buffered conversa
genericsuite-app-maker-agent/lib/codegen_streamlit_lib.py:501
↓ 2 callersFunctionget_llm_model
Get LLM model configuration based on environment variables. Supports any OpenAI-compatible API provider. Args: model_choice:
ag-ui-rag-agent/agent/providers.py:9
↓ 2 callersFunctionget_llm_model
Get LLM model configuration for OpenAI. Returns: Configured OpenAI model
ag-ui-rag-agent/agent/utils/providers.py:16
↓ 2 callersMethodget_llm_model_object
Returns the LLM model object
genericsuite-app-maker-agent/lib/codegen_schema_generator.py:331
↓ 2 callersMethodget_messages_array
Return the messages array for the LLM call in the format expected by the OpenAI API. The messages array is a list of dictiona
genericsuite-app-maker-agent/lib/codegen_ai_abstracts.py:219
↓ 2 callersMethodget_metadata
Get metadata for a TXT file. Args: file_path: Path to the TXT file Returns: Dic
foundational-rag-agent/document_processing/processors.py:93
↓ 2 callersFunctionget_model
()
python-local-ai-agent/main.py:74
↓ 2 callersFunctionget_model
(model_id)
r1-distill-rag/r1_smolagent_rag.py:13
↓ 2 callersMethodget_option_index
Returns the index of the option in the list
genericsuite-app-maker-agent/lib/codegen_streamlit_lib.py:888
↓ 2 callersFunctionget_or_create_collection
Get an existing collection or create a new one if it doesn't exist. Args: client: ChromaDB client collection_name: Name of th
light-rag-agent/BasicRAG/utils.py:28
↓ 2 callersFunctionget_or_create_collection
Get an existing collection or create a new one if it doesn't exist. Args: client: ChromaDB client collection_name: Name of th
crawl4AI-agent-v2/utils.py:28
↓ 2 callersFunctionget_or_create_session
Get existing session or create new one.
agentic-rag-knowledge-graph/agent/api.py:139
↓ 2 callersMethodget_player_stats
Fetch stats for multiple players.
nba-agent/agent_trial/nba_agent_1.py:789
↓ 2 callersFunctionget_prompt_enhancement_button_config
Returns the prompt enhancement button config
genericsuite-app-maker-agent/src/codegen_buttons.py:30
↓ 2 callersFunctionget_request_with_retries
Makes a GET request with retries using multiple API keys. This function iterates through a list of API keys, attempting to make a GET request
streambuzz-agent/utils/youtube_util.py:216
↓ 2 callersFunctionget_response_as_prompt_button_config
Returns the response as prompt button config
genericsuite-app-maker-agent/src/codegen_buttons.py:16
↓ 2 callersMethodget_selected_feature
Returns the selected feature
genericsuite-app-maker-agent/lib/codegen_general_lib.py:365
↓ 2 callersFunctionget_session_messages
Get messages for a session. Args: session_id: Session UUID limit: Maximum number of messages to return Returns:
agentic-rag-knowledge-graph/agent/db_utils.py:218
↓ 2 callersMethodget_standings
Get current standings.
nba-agent/agent_trial/nba_agent_1.py:237
↓ 2 callersMethodget_team_injuries
Fetch current injuries for a team
nba-agent/nba_agent.py:221
↓ 2 callersMethodget_team_players
Fetch all players for a team.
nba-agent/agent_trial/nba_agent_1.py:770
↓ 2 callersMethodget_team_stats
Fetch team statistics for the current season.
nba-agent/agent_trial/nba_agent_1.py:735
↓ 2 callersMethodget_title
Returns the title of the app
genericsuite-app-maker-agent/lib/codegen_streamlit_lib.py:754
↓ 2 callersMethodget_title_from_question
Returns the title from the question
genericsuite-app-maker-agent/lib/codegen_streamlit_lib.py:420
↓ 2 callersMethodget_title_from_question
Returns the title from the question
genericsuite-app-maker-agent/lib/codegen_general_lib.py:232
↓ 2 callersFunctionget_user_choice
Get user choice to continue or quit.
graphiti-agent/llm_evolution.py:55
↓ 2 callersFunctionget_user_cwd
Get the working directory for a user. Args: user_id: Telegram user ID Returns: Working directory path (falls back to WO
claude-agent-sdk-demos/telegram_integration/telegram_bot_sentry.py:158
↓ 2 callersFunctionget_video_transcript
Fetches transcript of the video, if available.
youtube-summary-agent/main.py:174
↓ 2 callersFunctionget_youtube_api_key_bunches
()
streambuzz-agent/utils/youtube_util.py:29
↓ 2 callersFunctionhandle_dm_request
(request: Dict[str, Any], authorization: str = None)
TinyDM-agent/main.py:63
↓ 2 callersMethodhandle_slash_commands
Handle slash commands for adding MCP servers and listing available functions. Args: query (str): The command query.
thirdbrain-mcp-openai-agent/mcp_client.py:621
↓ 2 callersMethodhf_query
Perform a HuggingFace query Args: api_url (str): HuggingFace API URL payload (dict): HuggingFace payload
genericsuite-app-maker-agent/lib/codegen_ai_provider_huggingface.py:108
↓ 2 callersFunctionhybrid_search_tool
Perform hybrid search (vector + keyword). Args: input_data: Search parameters Returns: List of matching chunks
agentic-rag-knowledge-graph/agent/tools.py:175
↓ 2 callersMethodimage_generation
( self, question: str = None, settings: dict = None )
genericsuite-app-maker-agent/lib/codegen_general_lib.py:710
↓ 2 callersMethodimport_data
Umport data from a uploaded JSON file into the database
genericsuite-app-maker-agent/lib/codegen_streamlit_lib.py:684
↓ 2 callersMethodinitialize
Initialize graph client.
agentic-rag-knowledge-graph/ingestion/graph_builder.py:41
↓ 2 callersMethodinitialize
Create connection pool.
ag-ui-rag-agent/agent/utils/db_utils.py:40
↓ 2 callersMethodinitialize
Create connection pool.
docling-rag-agent/utils/db_utils.py:40
↓ 2 callersMethodinitialize
Create connection pool.
all-rag-strategies/implementation/utils/db_utils.py:40
↓ 2 callersFunctioninitialize_database
Initialize database connection pool.
agentic-rag-knowledge-graph/agent/db_utils.py:73
← previousnext →201–300 of 1,846, ranked by callers