3707 lines
413 KiB
Plaintext
3707 lines
413 KiB
Plaintext
{
|
|
"cells": [
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"# Pixeltable MCP with CrewAI Flow\n",
|
|
"\n",
|
|
"This notebook demonstrates a sophisticated multimodal AI system that uses CrewAI Flows to intelligently route and process different types of media queries. The system includes specialized agents for handling images, videos, audio, and documents using Pixeltable's indexing and search capabilities.\n",
|
|
"\n",
|
|
"## Overview\n",
|
|
"\n",
|
|
"The **PixeltableManagerFlow** leverages:\n",
|
|
"- **CrewAI Flows**: For orchestrating multi-agent workflows\n",
|
|
"- **Pixeltable Tools**: For multimodal data indexing and retrieval\n",
|
|
"- **Specialized Agents**: Each expert in their respective domain (image, video, audio, document)\n",
|
|
"- **Intelligent Routing**: Automatic query classification and delegation"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"## 📦 Required Imports\n",
|
|
"\n",
|
|
"Import all necessary libraries for the implementation:"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": null,
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"import os\n",
|
|
"from typing import Dict, Any\n",
|
|
"from IPython.display import display, Markdown, HTML\n",
|
|
"from pydantic import BaseModel\n",
|
|
"from crewai import Agent, Task, Crew\n",
|
|
"from crewai_tools import MCPServerAdapter\n",
|
|
"from crewai import LLM\n",
|
|
"from crewai.flow.flow import Flow, router, start, listen, or_"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"## 🤖 LLM Configuration\n",
|
|
"\n",
|
|
"Configure the Language Models for different purposes:\n",
|
|
"- **Router LLM**: Used by the routing agent for query classification\n",
|
|
"- **Agent LLM**: Used by specialist agents for executing tasks\n",
|
|
"- **Response LLM**: Used for generating final responses to user queries"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": null,
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"from dotenv import load_dotenv\n",
|
|
"load_dotenv()"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"Note: We're using OpenAI LLMs in some agents for better outputs, the focus here is to demonstrate the unified data storage MCP server by Pixeltable and connecting them to your own Agents built using CrewAI."
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 3,
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"# Define our LLMs for providing to agents\n",
|
|
"router_llm = LLM(model=\"ollama/gemma3\")\n",
|
|
"agent_llm = LLM(model=\"openai/o3-mini\")\n",
|
|
"response_llm = LLM(model=\"openai/gpt-4\")"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"## 🌐 Pixeltable Server Configuration\n",
|
|
"\n",
|
|
"Configure the MCP (Model Context Protocol) servers for different Pixeltable services:\n",
|
|
"- **Image Server** (Port 8080): Handles image indexing and search\n",
|
|
"- **Video Server** (Port 8081): Handles video transcription and search \n",
|
|
"- **Audio Server** (Port 8082): Handles audio transcription and search\n",
|
|
"- **Document Server** (Port 8083): Handles document indexing and search"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 4,
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"server_configurations = [\n",
|
|
" # Pixeltable SSE Servers\n",
|
|
" {\n",
|
|
" \"url\": \"http://localhost:8080/sse\",\n",
|
|
" \"transport\": \"sse\"\n",
|
|
" },\n",
|
|
" {\n",
|
|
" \"url\": \"http://localhost:8081/sse\",\n",
|
|
" \"transport\": \"sse\"\n",
|
|
" },\n",
|
|
" {\n",
|
|
" \"url\": \"http://localhost:8082/sse\",\n",
|
|
" \"transport\": \"sse\"\n",
|
|
" },\n",
|
|
" {\n",
|
|
" \"url\": \"http://localhost:8083/sse\",\n",
|
|
" \"transport\": \"sse\"\n",
|
|
" },\n",
|
|
"]"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 5,
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"name": "stdout",
|
|
"output_type": "stream",
|
|
"text": [
|
|
"Available tools: ['setup_audio_index', 'insert_audio', 'query_audio', 'list_audio_tables', 'setup_video_index', 'insert_video', 'query_video', 'list_video_tables', 'setup_image_index', 'insert_image', 'query_image', 'list_image_tables', 'setup_document_index', 'insert_document', 'query_document', 'list_document_tables']\n"
|
|
]
|
|
},
|
|
{
|
|
"name": "stderr",
|
|
"output_type": "stream",
|
|
"text": [
|
|
"/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/pydantic/fields.py:1089: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'items', 'anyOf', 'enum', 'properties'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/\n",
|
|
" warn(\n"
|
|
]
|
|
}
|
|
],
|
|
"source": [
|
|
"with MCPServerAdapter(server_configurations) as mcp_tools:\n",
|
|
" print(f\"Available tools: {[tool.name for tool in mcp_tools]}\")"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"## 🔄 PixeltableManagerFlow Class\n",
|
|
"\n",
|
|
"The main flow class that orchestrates the entire multimodal AI system. This implementation includes:\n",
|
|
"\n",
|
|
"### Key Components:\n",
|
|
"1. **State Management**: Using Pydantic models for type-safe state handling\n",
|
|
"2. **Intelligent Routing**: Automatic query classification to determine the appropriate specialist\n",
|
|
"3. **Specialist Agents**: Dedicated agents for each media type\n",
|
|
"4. **Result Synthesis**: Final processing to create user-friendly responses\n",
|
|
"\n",
|
|
"### Flow Architecture:\n",
|
|
"```\n",
|
|
"User Query → Router Agent → Specialist Agent → Synthesis Agent → Final Result\n",
|
|
"```\n",
|
|
"\n",
|
|
"### Supported Operations:\n",
|
|
"- **Image**: Index creation, image insertion, semantic search\n",
|
|
"- **Video**: Index creation, video insertion, transcription-based search\n",
|
|
"- **Audio**: Index creation, audio insertion, speech-to-text search\n",
|
|
"- **Document**: Index creation, document insertion, text-based search"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": null,
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"class PixeltableFlowState(BaseModel):\n",
|
|
" query: str = \"\"\n",
|
|
" result: str = \"\"\n",
|
|
"\n",
|
|
"\n",
|
|
"class Specialist(BaseModel):\n",
|
|
" name: str\n",
|
|
"\n",
|
|
"\n",
|
|
"class PixeltableManagerFlow(Flow[PixeltableFlowState]):\n",
|
|
" \"\"\"\n",
|
|
" A CrewAI Flow to intelligently delegate multimodal indexing/search queries\n",
|
|
" to specialized agents using Pixeltable tools.\n",
|
|
" \"\"\"\n",
|
|
"\n",
|
|
" @start()\n",
|
|
" def start_flow(self) -> Dict[str, Any]:\n",
|
|
" print(f\"Flow started with query: {self.state.query}\")\n",
|
|
" return {\"query\": self.state.query}\n",
|
|
"\n",
|
|
" @router(start_flow)\n",
|
|
" def route_query(self) -> str:\n",
|
|
" \"\"\"Uses an agent to determine the correct specialist for the user's query.\"\"\"\n",
|
|
" print(\"--- Using Router Agent to classify query ---\")\n",
|
|
" router_agent = Agent(\n",
|
|
" role=\"Task Router\",\n",
|
|
" goal=(\n",
|
|
" \"Analyze the user's query and determine the correct specialist. \"\n",
|
|
" \"The available specialists are: 'image_specialist', 'video_specialist', \"\n",
|
|
" \"'audio_specialist', 'document_specialist'.\"\n",
|
|
" ),\n",
|
|
" backstory=\"An AI expert in routing tasks to the appropriate specialist agent.\",\n",
|
|
" llm=router_llm,\n",
|
|
" )\n",
|
|
"\n",
|
|
" routing_task = Task(\n",
|
|
" description=f\"Analyze the following user query and determine which specialist should handle it: '{self.state.query}'.\",\n",
|
|
" expected_output=\"\"\"\n",
|
|
"Your output MUST be a single string from the following options:\n",
|
|
"- 'image_specialist'\n",
|
|
"- 'video_specialist'\n",
|
|
"- 'audio_specialist'\n",
|
|
"- 'document_specialist'\n",
|
|
"- 'default_specialist'\n",
|
|
"\"\"\",\n",
|
|
" agent=router_agent,\n",
|
|
" output_json=Specialist,\n",
|
|
" )\n",
|
|
"\n",
|
|
" # Execute the routing task\n",
|
|
" crew = Crew(agents=[router_agent], tasks=[routing_task], verbose=True)\n",
|
|
" route = crew.kickoff()\n",
|
|
" specialist = route[\"name\"]\n",
|
|
" return specialist\n",
|
|
"\n",
|
|
" @listen(\"image_specialist\")\n",
|
|
" def handle_image_task(self) -> Dict[str, Any]:\n",
|
|
" print(\"--- Delegating to Image Specialist ---\")\n",
|
|
" try:\n",
|
|
" with MCPServerAdapter(server_configurations) as mcp_tools:\n",
|
|
" agent = Agent(\n",
|
|
" role=\"Image Specialist\",\n",
|
|
" goal=(\n",
|
|
" \"Understand user queries and manage image indexing tasks using Pixeltable. \"\n",
|
|
" \"First, check if the specified image index exists by listing current indexes. \"\n",
|
|
" \"If it does not exist, create it. Once the index is confirmed or created, \"\n",
|
|
" \"either insert images into the index or perform search operations on it, \"\n",
|
|
" \"depending on the user's intent.\"\n",
|
|
" ),\n",
|
|
" backstory=(\n",
|
|
" \"You are trained in visual data management. With expertise in semantic image embedding, \"\n",
|
|
" \"vector search retrieval, and index optimization, you transform image data into searchable visual knowledge bases.\"\n",
|
|
" ),\n",
|
|
" tools=[\n",
|
|
" mcp_tools[\"setup_image_index\"],\n",
|
|
" mcp_tools[\"insert_image\"],\n",
|
|
" mcp_tools[\"query_image\"],\n",
|
|
" mcp_tools[\"list_image_tables\"],\n",
|
|
" ],\n",
|
|
" llm=agent_llm,\n",
|
|
" )\n",
|
|
"\n",
|
|
" task = Task(\n",
|
|
" description=f\"\"\"\n",
|
|
"Interpret the following user query and take the appropriate image-related actions using Pixeltable's tools: '{self.state.query}'.\n",
|
|
"\n",
|
|
"You may:\n",
|
|
"- Create image index with table name\n",
|
|
"- Insert image file to specified image index\n",
|
|
"- Query specified image index by text question\n",
|
|
"- List existing image indexes\n",
|
|
"\n",
|
|
"Choose the best actions to meet the user's request.\n",
|
|
"\"\"\",\n",
|
|
" expected_output=\"\"\"\n",
|
|
"Output should include:\n",
|
|
"- Reasoning of performed operation\n",
|
|
"- Summary of successful tool use\n",
|
|
"- Recommended next actions\n",
|
|
"\n",
|
|
"Format output as markdown.\n",
|
|
"\"\"\",\n",
|
|
" agent=agent,\n",
|
|
" markdown=True,\n",
|
|
" )\n",
|
|
"\n",
|
|
" crew = Crew(agents=[agent], tasks=[task], verbose=True)\n",
|
|
" result = crew.kickoff()\n",
|
|
" return {\"result\": str(result)}\n",
|
|
"\n",
|
|
" except Exception as e:\n",
|
|
" return {\"result\": f\"Error processing image task: {e}\"}\n",
|
|
"\n",
|
|
" @listen(\"video_specialist\")\n",
|
|
" def handle_video_task(self) -> Dict[str, Any]:\n",
|
|
" print(\"--- Delegating to Video Specialist ---\")\n",
|
|
" try:\n",
|
|
" with MCPServerAdapter(server_configurations) as mcp_tools:\n",
|
|
" agent = Agent(\n",
|
|
" role=\"Video Specialist\",\n",
|
|
" goal=(\n",
|
|
" \"Understand user queries and manage video indexing tasks using Pixeltable. \"\n",
|
|
" \"First, check if the specified video index exists by listing current indexes. \"\n",
|
|
" \"If it does not exist, create it. Once the index is confirmed or created, \"\n",
|
|
" \"either insert videos into the index or perform search operations on it, \"\n",
|
|
" \"depending on the user's intent.\"\n",
|
|
" ),\n",
|
|
" backstory=(\n",
|
|
" \"You specialize in understanding visual and spoken information in videos. \"\n",
|
|
" \"Using transcription, indexing, and retrieval techniques, you make video data searchable and useful.\"\n",
|
|
" ),\n",
|
|
" tools=[\n",
|
|
" mcp_tools[\"setup_video_index\"],\n",
|
|
" mcp_tools[\"insert_video\"],\n",
|
|
" mcp_tools[\"query_video\"],\n",
|
|
" mcp_tools[\"list_video_tables\"],\n",
|
|
" ],\n",
|
|
" llm=agent_llm,\n",
|
|
" )\n",
|
|
"\n",
|
|
" task = Task(\n",
|
|
" description=f\"\"\"\n",
|
|
"Interpret the following user query and take the appropriate video-related actions using Pixeltable's tools: '{self.state.query}'.\n",
|
|
"\n",
|
|
"You may:\n",
|
|
"- Create video index with table name\n",
|
|
"- Insert video file to specified video index\n",
|
|
"- Query specified video index by text question\n",
|
|
"- List existing video indexes\n",
|
|
"\n",
|
|
"Choose the best actions to meet the user's request.\n",
|
|
"\"\"\",\n",
|
|
" expected_output=\"\"\"\n",
|
|
"Output should include:\n",
|
|
"- Reasoning of performed operation\n",
|
|
"- Summary of successful tool use\n",
|
|
"- Recommended next actions\n",
|
|
"\n",
|
|
"Format output as markdown.\n",
|
|
"\"\"\",\n",
|
|
" agent=agent,\n",
|
|
" markdown=True,\n",
|
|
" )\n",
|
|
"\n",
|
|
" crew = Crew(agents=[agent], tasks=[task], verbose=True)\n",
|
|
" result = crew.kickoff()\n",
|
|
" return {\"result\": str(result)}\n",
|
|
"\n",
|
|
" except Exception as e:\n",
|
|
" return {\"result\": f\"Error processing video task: {e}\"}\n",
|
|
"\n",
|
|
" @listen(\"audio_specialist\")\n",
|
|
" def handle_audio_task(self) -> Dict[str, Any]:\n",
|
|
" print(\"--- Delegating to Audio Specialist ---\")\n",
|
|
" try:\n",
|
|
" with MCPServerAdapter(server_configurations) as mcp_tools:\n",
|
|
" agent = Agent(\n",
|
|
" role=\"Audio Specialist\",\n",
|
|
" goal=(\n",
|
|
" \"Understand user queries and manage audio indexing tasks using Pixeltable. \"\n",
|
|
" \"First, check if the specified audio index exists by listing current indexes. \"\n",
|
|
" \"If it does not exist, create it. Once the index is confirmed or created, \"\n",
|
|
" \"either insert audios into the index or perform search operations on it, \"\n",
|
|
" \"depending on the user's intent.\"\n",
|
|
" ),\n",
|
|
" backstory=(\n",
|
|
" \"With advanced Whisper transcription models and semantic search tools, you specialize in turning \"\n",
|
|
" \"spoken content into searchable knowledge graphs.\"\n",
|
|
" ),\n",
|
|
" tools=[\n",
|
|
" mcp_tools[\"setup_audio_index\"],\n",
|
|
" mcp_tools[\"insert_audio\"],\n",
|
|
" mcp_tools[\"query_audio\"],\n",
|
|
" mcp_tools[\"list_audio_tables\"],\n",
|
|
" ],\n",
|
|
" llm=agent_llm,\n",
|
|
" )\n",
|
|
"\n",
|
|
" task = Task(\n",
|
|
" description=f\"\"\"\n",
|
|
"Interpret the following user query and take the appropriate audio-related actions using Pixeltable's tools: '{self.state.query}'.\n",
|
|
"\n",
|
|
"You may:\n",
|
|
"- Create audio indexe with table name\n",
|
|
"- Insert audio file to specified audio index\n",
|
|
"- Query specified audio index by text question\n",
|
|
"- List existing audio indexes\n",
|
|
"\n",
|
|
"Choose the best actions to meet the user's request.\n",
|
|
"\"\"\",\n",
|
|
" expected_output=\"\"\"\n",
|
|
"Output should include:\n",
|
|
"- Reasoning of performed operation\n",
|
|
"- Summary of successful tool use\n",
|
|
"- Recommended next actions\n",
|
|
"\n",
|
|
"Format output as markdown.\n",
|
|
"\"\"\",\n",
|
|
" agent=agent,\n",
|
|
" markdown=True,\n",
|
|
" )\n",
|
|
"\n",
|
|
" crew = Crew(agents=[agent], tasks=[task], verbose=True)\n",
|
|
" result = crew.kickoff()\n",
|
|
" return {\"result\": str(result)}\n",
|
|
"\n",
|
|
" except Exception as e:\n",
|
|
" return {\"result\": f\"Error processing audio task: {e}\"}\n",
|
|
"\n",
|
|
" @listen(\"document_specialist\")\n",
|
|
" def handle_document_task(self) -> Dict[str, Any]:\n",
|
|
" print(\"--- Delegating to Document Specialist ---\")\n",
|
|
" try:\n",
|
|
" with MCPServerAdapter(server_configurations) as mcp_tools:\n",
|
|
" agent = Agent(\n",
|
|
" role=\"Document Specialist\",\n",
|
|
" goal=(\n",
|
|
" \"Understand user queries and manage document indexing tasks using Pixeltable. \"\n",
|
|
" \"First, check if the specified document index exists by listing current indexes. \"\n",
|
|
" \"If it does not exist, create it. Once the index is confirmed or created, \"\n",
|
|
" \"either insert documents into the index or perform search operations on it, \"\n",
|
|
" \"depending on the user's intent.\"\n",
|
|
" ),\n",
|
|
" backstory=(\n",
|
|
" \"You are an expert in document parsing and information retrieval. From PDFs to large text document corpus, \"\n",
|
|
" \"you chunk, index, and semantically search textual data with precision.\"\n",
|
|
" ),\n",
|
|
" tools=[\n",
|
|
" mcp_tools[\"setup_document_index\"],\n",
|
|
" mcp_tools[\"insert_document\"],\n",
|
|
" mcp_tools[\"query_document\"],\n",
|
|
" mcp_tools[\"list_document_tables\"],\n",
|
|
" ],\n",
|
|
" llm=agent_llm,\n",
|
|
" )\n",
|
|
"\n",
|
|
" task = Task(\n",
|
|
" description=f\"\"\"\n",
|
|
"Interpret the following user query and take the appropriate document-related actions using Pixeltable's tools: '{self.state.query}'.\n",
|
|
"\n",
|
|
"You may:\n",
|
|
"- Create document index with table name\n",
|
|
"- Insert document file to specified document index\n",
|
|
"- Query specified document index by text question\n",
|
|
"- List existing document indexes\n",
|
|
"\n",
|
|
"Choose the best actions to meet the user's request.\n",
|
|
"\"\"\",\n",
|
|
" expected_output=\"\"\"\n",
|
|
"Output should include:\n",
|
|
"- Reasoning of performed operation\n",
|
|
"- Summary of successful tool use\n",
|
|
"- Recommended next actions\n",
|
|
"\n",
|
|
"Format output as markdown.\n",
|
|
"\"\"\",\n",
|
|
" agent=agent,\n",
|
|
" markdown=True,\n",
|
|
" )\n",
|
|
"\n",
|
|
" crew = Crew(agents=[agent], tasks=[task], verbose=True)\n",
|
|
" result = crew.kickoff()\n",
|
|
" return {\"result\": str(result)}\n",
|
|
"\n",
|
|
" except Exception as e:\n",
|
|
" return {\"result\": f\"Error processing document task: {e}\"}\n",
|
|
"\n",
|
|
" @listen(\"default_specialist\")\n",
|
|
" def handle_default_task(self) -> Dict[str, Any]:\n",
|
|
" print(\"--- No specific specialist found, providing a general response. ---\")\n",
|
|
" return {\n",
|
|
" \"result\": (\n",
|
|
" \"I'm not sure which type of content you're referring to.\\n\\n\"\n",
|
|
" \"Please try rephrasing your query to mention one of the following types:\\n\"\n",
|
|
" \"- image\\n- video\\n- audio\\n- document (PDF, text)\"\n",
|
|
" )\n",
|
|
" }\n",
|
|
"\n",
|
|
" @listen(\n",
|
|
" or_(\n",
|
|
" \"handle_image_task\",\n",
|
|
" \"handle_video_task\",\n",
|
|
" \"handle_audio_task\",\n",
|
|
" \"handle_document_task\",\n",
|
|
" \"handle_default_task\",\n",
|
|
" )\n",
|
|
" )\n",
|
|
" def synthesize_result(self, specialist_output: str):\n",
|
|
" \"\"\"Uses a synthesis agent to create a user-friendly final response.\"\"\"\n",
|
|
" print(\"--- Synthesizing Final Response ---\")\n",
|
|
" synthesis_agent = Agent(\n",
|
|
" role=\"Synthesis Specialist\",\n",
|
|
" goal=\"Craft a clear, concise, and user-friendly response based on the technical output from the specialist agent.\",\n",
|
|
" backstory=\"An expert in communication and summarization.\",\n",
|
|
" llm=response_llm,\n",
|
|
" )\n",
|
|
" synthesis_task = Task(\n",
|
|
" description=f\"Based on the following result: {specialist_output} and the user query: {self.state.query} provide a precise and coherent response to the user\",\n",
|
|
" expected_output=\"A polished, final response suitable for the end-user.\",\n",
|
|
" agent=synthesis_agent,\n",
|
|
" )\n",
|
|
"\n",
|
|
" crew = Crew(agents=[synthesis_agent], tasks=[synthesis_task], verbose=True)\n",
|
|
" final_result = crew.kickoff()\n",
|
|
" return {\"result\": str(final_result)}"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"## 🚀 Usage Example\n",
|
|
"\n",
|
|
"Demonstrate how to use the PixeltableManagerFlow with different types of queries:\n",
|
|
"\n",
|
|
"### Example Queries:\n",
|
|
"1. **Video Index Creation and Insertion**: `\"Insert this video with URL as, 'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' to video index 'baby_videos'.\"`\n",
|
|
"2. **Video Search**: `\"What's the name of the younger kid shown in this video stored in video index 'baby_videos'?\"`\n",
|
|
"\n",
|
|
"The flow will automatically:\n",
|
|
"- Classify the query type\n",
|
|
"- Route to the appropriate specialist\n",
|
|
"- Execute the required Pixeltable operations\n",
|
|
"- Synthesize a user-friendly response"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"Let's first preview our video before execution"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 7,
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"\n",
|
|
"<video width=\"640\" height=\"480\" controls>\n",
|
|
" <source src=\"https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03\" type=\"video/mp4\">\n",
|
|
" Your browser does not support the video tag.\n",
|
|
"</video>\n"
|
|
],
|
|
"text/plain": [
|
|
"<IPython.core.display.HTML object>"
|
|
]
|
|
},
|
|
"execution_count": 7,
|
|
"metadata": {},
|
|
"output_type": "execute_result"
|
|
}
|
|
],
|
|
"source": [
|
|
"video_url = \"https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03\"\n",
|
|
"\n",
|
|
"HTML(f\"\"\"\n",
|
|
"<video width=\"640\" height=\"480\" controls>\n",
|
|
" <source src=\"{video_url}\" type=\"video/mp4\">\n",
|
|
" Your browser does not support the video tag.\n",
|
|
"</video>\n",
|
|
"\"\"\")"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 8,
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #000080; text-decoration-color: #000080\">╭──────────────────────────────────────────────── Flow Execution ─────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #000080; text-decoration-color: #000080; font-weight: bold\">Starting Flow Execution</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #000080; text-decoration-color: #000080\">PixeltableManagerFlow</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">ID: </span><span style=\"color: #000080; text-decoration-color: #000080\">a89785b4-ea8b-4dd8-bd69-f6db6b837f2c</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[34m╭─\u001b[0m\u001b[34m───────────────────────────────────────────────\u001b[0m\u001b[34m Flow Execution \u001b[0m\u001b[34m────────────────────────────────────────────────\u001b[0m\u001b[34m─╮\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[1;34mStarting Flow Execution\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[34mPixeltableManagerFlow\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[37mID: \u001b[0m\u001b[34ma89785b4-ea8b-4dd8-bd69-f6db6b837f2c\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
}
|
|
],
|
|
"source": [
|
|
"flow = PixeltableManagerFlow()"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 9,
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080; font-weight: bold\"> Flow started with ID: a89785b4-ea8b-4dd8-bd69-f6db6b837f2c</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[1;35m Flow started with ID: a89785b4-ea8b-4dd8-bd69-f6db6b837f2c\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "97a1fdd037334807a7b762f1fef3eae3",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">Flow started with query: Insert this video with URL as, \n",
|
|
"'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' to video index 'baby_videos'.\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"Flow started with query: Insert this video with URL as, \n",
|
|
"'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' to video index 'baby_videos'.\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">--- Using Router Agent to classify query ---\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"--- Using Router Agent to classify query ---\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008080; text-decoration-color: #008080\">╭──────────────────────────────────────────── Crew Execution Started ─────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">Crew Execution Started</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008080; text-decoration-color: #008080\">crew</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">ID: </span><span style=\"color: #008080; text-decoration-color: #008080\">9651abbd-4d0d-4dd9-b576-72b60e4ac188</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[36m╭─\u001b[0m\u001b[36m───────────────────────────────────────────\u001b[0m\u001b[36m Crew Execution Started \u001b[0m\u001b[36m────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[1;36mCrew Execution Started\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[36mcrew\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mID: \u001b[0m\u001b[36m9651abbd-4d0d-4dd9-b576-72b60e4ac188\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080\">╭─────────────────────────────────────────────── 🤖 Agent Started ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Task Router</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Task: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00\">Analyze the following user query and determine which specialist should handle it: 'Insert this video </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">with URL as, 'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' to video index</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">'baby_videos'.'.</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[35m╭─\u001b[0m\u001b[35m──────────────────────────────────────────────\u001b[0m\u001b[35m 🤖 Agent Started \u001b[0m\u001b[35m───────────────────────────────────────────────\u001b[0m\u001b[35m─╮\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mTask Router\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mTask: \u001b[0m\u001b[92mAnalyze the following user query and determine which specialist should handle it: 'Insert this video \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mwith URL as, 'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' to video index\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m'baby_videos'.'.\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "3fa4c0fdd37c4a20beed236e063ce41c",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭───────────────────────────────────────────── ✅ Agent Final Answer ─────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Task Router</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Final Answer:</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">{</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> \"name\": \"video_specialist\"</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">}</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m────────────────────────────────────────────\u001b[0m\u001b[32m ✅ Agent Final Answer \u001b[0m\u001b[32m────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mTask Router\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mFinal Answer:\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m{\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m \"name\": \"video_specialist\"\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m}\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭──────────────────────────────────────────────── Task Completion ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">Task Completed</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008000; text-decoration-color: #008000\">5fed9995-46bc-4f23-af92-40c10a85983e</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #008000; text-decoration-color: #008000\">Task Router</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m Task Completion \u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[1;32mTask Completed\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[32m5fed9995-46bc-4f23-af92-40c10a85983e\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[32mTask Router\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭──────────────────────────────────────────────── Crew Completion ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">Crew Execution Completed</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008000; text-decoration-color: #008000\">crew</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">ID: </span><span style=\"color: #008000; text-decoration-color: #008000\">9651abbd-4d0d-4dd9-b576-72b60e4ac188</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Final Output: {</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\"> \"name\": \"video_specialist\"</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">}</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m Crew Completion \u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[1;32mCrew Execution Completed\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[32mcrew\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mID: \u001b[0m\u001b[32m9651abbd-4d0d-4dd9-b576-72b60e4ac188\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mFinal Output: {\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m \"name\": \"video_specialist\"\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m}\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "a2fde8abbb7848cb838e59d090430893",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">--- Delegating to Video Specialist ---\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"--- Delegating to Video Specialist ---\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/pydantic/fields.py:1089: \n",
|
|
"PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use \n",
|
|
"`json_schema_extra` instead. (Extra keys: 'items', 'anyOf', 'enum', 'properties'). Deprecated in Pydantic V2.0 to \n",
|
|
"be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/\n",
|
|
" warn(\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/pydantic/fields.py:1089: \n",
|
|
"PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use \n",
|
|
"`json_schema_extra` instead. (Extra keys: 'items', 'anyOf', 'enum', 'properties'). Deprecated in Pydantic V2.0 to \n",
|
|
"be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/\n",
|
|
" warn(\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008080; text-decoration-color: #008080\">╭──────────────────────────────────────────── Crew Execution Started ─────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">Crew Execution Started</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008080; text-decoration-color: #008080\">crew</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">ID: </span><span style=\"color: #008080; text-decoration-color: #008080\">554abe2a-1d46-4502-96a3-d52b767f4987</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[36m╭─\u001b[0m\u001b[36m───────────────────────────────────────────\u001b[0m\u001b[36m Crew Execution Started \u001b[0m\u001b[36m────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[1;36mCrew Execution Started\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[36mcrew\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mID: \u001b[0m\u001b[36m554abe2a-1d46-4502-96a3-d52b767f4987\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080\">╭─────────────────────────────────────────────── 🤖 Agent Started ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Video Specialist</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Task: </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Interpret the following user query and take the appropriate video-related actions using Pixeltable's tools: </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">'Insert this video with URL as, </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' to video index </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">'baby_videos'.'.</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">You may:</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- Create video index with table name</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- Insert video file to specified video index</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- Query specified video index by text question</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- List existing video indexes</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Choose the best actions to meet the user's request.</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[35m╭─\u001b[0m\u001b[35m──────────────────────────────────────────────\u001b[0m\u001b[35m 🤖 Agent Started \u001b[0m\u001b[35m───────────────────────────────────────────────\u001b[0m\u001b[35m─╮\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mVideo Specialist\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mTask: \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mInterpret the following user query and take the appropriate video-related actions using Pixeltable's tools: \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m'Insert this video with URL as, \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' to video index \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m'baby_videos'.'.\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mYou may:\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m- Create video index with table name\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m- Insert video file to specified video index\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m- Query specified video index by text question\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m- List existing video indexes\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mChoose the best actions to meet the user's request.\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "13bede85b4f74b9ebb50f7f3eee763b3",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080\">╭──────────────────────────────────────────── 🔧 Agent Tool Execution ────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Video Specialist</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Thought: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00\">Thought: The user's query asks to insert a video into the video index \"baby_videos\" with the </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">provided URL. To meet this request, I will:</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- First, check if the \"baby_videos\" video index already exists by listing current video indexes.</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- If it does not exist, create the \"baby_videos\" video index.</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- Finally, insert the video into the \"baby_videos\" index using the provided URL.</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Using Tool: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">list_video_tables</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[35m╭─\u001b[0m\u001b[35m───────────────────────────────────────────\u001b[0m\u001b[35m 🔧 Agent Tool Execution \u001b[0m\u001b[35m───────────────────────────────────────────\u001b[0m\u001b[35m─╮\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mVideo Specialist\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mThought: \u001b[0m\u001b[92mThought: The user's query asks to insert a video into the video index \"baby_videos\" with the \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mprovided URL. To meet this request, I will:\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m- First, check if the \"baby_videos\" video index already exists by listing current video indexes.\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m- If it does not exist, create the \"baby_videos\" video index.\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m- Finally, insert the video into the \"baby_videos\" index using the provided URL.\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mUsing Tool: \u001b[0m\u001b[1;92mlist_video_tables\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #000080; text-decoration-color: #000080\">╭────────────────────────────────────────────────── Tool Input ───────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #e6db74; text-decoration-color: #e6db74; background-color: #ffffff\">\"{}\"</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[34m╭─\u001b[0m\u001b[34m─────────────────────────────────────────────────\u001b[0m\u001b[34m Tool Input \u001b[0m\u001b[34m──────────────────────────────────────────────────\u001b[0m\u001b[34m─╮\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[38;2;230;219;116;49m\"{}\"\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭────────────────────────────────────────────────── Tool Output ──────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Current video indexes: video_index.two_kids, video_index.two_kids_chunks, video_index.funny_kids, </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">video_index.two_kids_sentence_chunks, video_index.funny_kids_chunks, video_index.funny_kids_sentence_chunks</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────────\u001b[0m\u001b[32m Tool Output \u001b[0m\u001b[32m─────────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mCurrent video indexes: video_index.two_kids, video_index.two_kids_chunks, video_index.funny_kids, \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mvideo_index.two_kids_sentence_chunks, video_index.funny_kids_chunks, video_index.funny_kids_sentence_chunks\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "24067b4a9d684e49b6415a0d81848fe2",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080\">╭──────────────────────────────────────────── 🔧 Agent Tool Execution ────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Video Specialist</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Thought: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00\">Thought: The list of current video indexes does not include \"baby_videos\". Therefore, the next step </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">is to create a new video index with the table name \"baby_videos\" and then insert the video with URL </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">\"https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03\" into that index.</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Using Tool: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">setup_video_index</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[35m╭─\u001b[0m\u001b[35m───────────────────────────────────────────\u001b[0m\u001b[35m 🔧 Agent Tool Execution \u001b[0m\u001b[35m───────────────────────────────────────────\u001b[0m\u001b[35m─╮\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mVideo Specialist\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mThought: \u001b[0m\u001b[92mThought: The list of current video indexes does not include \"baby_videos\". Therefore, the next step \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mis to create a new video index with the table name \"baby_videos\" and then insert the video with URL \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m\"https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03\" into that index.\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mUsing Tool: \u001b[0m\u001b[1;92msetup_video_index\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #000080; text-decoration-color: #000080\">╭────────────────────────────────────────────────── Tool Input ───────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #e6db74; text-decoration-color: #e6db74; background-color: #ffffff\">\"{\\\"table_name\\\": \\\"baby_videos\\\"}\"</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[34m╭─\u001b[0m\u001b[34m─────────────────────────────────────────────────\u001b[0m\u001b[34m Tool Input \u001b[0m\u001b[34m──────────────────────────────────────────────────\u001b[0m\u001b[34m─╮\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[38;2;230;219;116;49m\"{\\\"table_name\\\": \\\"baby_videos\\\"}\"\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭────────────────────────────────────────────────── Tool Output ──────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Video index 'video_index.baby_videos' created successfully.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────────\u001b[0m\u001b[32m Tool Output \u001b[0m\u001b[32m─────────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mVideo index 'video_index.baby_videos' created successfully.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "8af8eb2855e6416ab372f788509e4a7a",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080\">╭──────────────────────────────────────────── 🔧 Agent Tool Execution ────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Video Specialist</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Thought: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00\">Thought: The \"baby_videos\" index was successfully created. The next step is to insert the specified </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">video URL into the \"baby_videos\" index.</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Using Tool: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">insert_video</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[35m╭─\u001b[0m\u001b[35m───────────────────────────────────────────\u001b[0m\u001b[35m 🔧 Agent Tool Execution \u001b[0m\u001b[35m───────────────────────────────────────────\u001b[0m\u001b[35m─╮\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mVideo Specialist\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mThought: \u001b[0m\u001b[92mThought: The \"baby_videos\" index was successfully created. The next step is to insert the specified \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mvideo URL into the \"baby_videos\" index.\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mUsing Tool: \u001b[0m\u001b[1;92minsert_video\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #000080; text-decoration-color: #000080\">╭────────────────────────────────────────────────── Tool Input ───────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #e6db74; text-decoration-color: #e6db74; background-color: #ffffff\">\"{\\\"table_name\\\": \\\"baby_videos\\\", \\\"video_location\\\": \\\"https://github.com/user-attachments/assets/edf6c7f1-</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[34m╭─\u001b[0m\u001b[34m─────────────────────────────────────────────────\u001b[0m\u001b[34m Tool Input \u001b[0m\u001b[34m──────────────────────────────────────────────────\u001b[0m\u001b[34m─╮\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[38;2;230;219;116;49m\"{\\\"table_name\\\": \\\"baby_videos\\\", \\\"video_location\\\": \\\"https://github.com/user-attachments/assets/edf6c7f1-\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭────────────────────────────────────────────────── Tool Output ──────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Video file 'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' inserted </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">successfully into index 'video_index.baby_videos'.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">You ONLY have access to the following tools, and should NEVER make up tools that are not listed here:</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Tool Name: setup_video_index</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Tool Arguments: {'properties': {'table_name': {'anyOf': [], 'description': '', 'enum': None, 'items': None, </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">'properties': {}, 'title': 'Table Name', 'type': 'string'}}, 'required': ['table_name'], 'title': </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">'setup_video_indexArguments', 'type': 'object'}</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Tool Description: Set up a video index with the provided name and OpenAI API key.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> Args:</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> table_name: The name of the video index (e.g., 'lectures', 'interviews').</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> Returns:</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> A message indicating whether the index was created, already exists, or failed.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Tool Name: insert_video</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Tool Arguments: {'properties': {'table_name': {'anyOf': [], 'description': '', 'enum': None, 'items': None, </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">'properties': {}, 'title': 'Table Name', 'type': 'string'}, 'video_location': {'anyOf': [], 'description': </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">'', 'enum': None, 'items': None, 'properties': {}, 'title': 'Video Location', 'type': 'string'}}, 'required':</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">['table_name', 'video_location'], 'title': 'insert_videoArguments', 'type': 'object'}</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Tool Description: Insert a video file into the specified video index.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> Args:</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> table_name: The name of the video index (e.g., 'lectures', 'interviews').</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> video_location: The URL or path to the video file to insert (e.g., local path or S3 URL).</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> Returns:</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> A confirmation message indicating success or failure.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Tool Name: query_video</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Tool Arguments: {'properties': {'table_name': {'anyOf': [], 'description': '', 'enum': None, 'items': None, </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">'properties': {}, 'title': 'Table Name', 'type': 'string'}, 'query_text': {'anyOf': [], 'description': '', </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">'enum': None, 'items': None, 'properties': {}, 'title': 'Query Text', 'type': 'string'}, 'top_n': {'anyOf': </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">[], 'default': 5, 'description': '', 'enum': None, '...</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────────\u001b[0m\u001b[32m Tool Output \u001b[0m\u001b[32m─────────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mVideo file 'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' inserted \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92msuccessfully into index 'video_index.baby_videos'.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mYou ONLY have access to the following tools, and should NEVER make up tools that are not listed here:\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mTool Name: setup_video_index\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mTool Arguments: {'properties': {'table_name': {'anyOf': [], 'description': '', 'enum': None, 'items': None, \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m'properties': {}, 'title': 'Table Name', 'type': 'string'}}, 'required': ['table_name'], 'title': \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m'setup_video_indexArguments', 'type': 'object'}\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mTool Description: Set up a video index with the provided name and OpenAI API key.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m Args:\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m table_name: The name of the video index (e.g., 'lectures', 'interviews').\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m Returns:\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m A message indicating whether the index was created, already exists, or failed.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mTool Name: insert_video\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mTool Arguments: {'properties': {'table_name': {'anyOf': [], 'description': '', 'enum': None, 'items': None, \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m'properties': {}, 'title': 'Table Name', 'type': 'string'}, 'video_location': {'anyOf': [], 'description': \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m'', 'enum': None, 'items': None, 'properties': {}, 'title': 'Video Location', 'type': 'string'}}, 'required':\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m['table_name', 'video_location'], 'title': 'insert_videoArguments', 'type': 'object'}\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mTool Description: Insert a video file into the specified video index.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m Args:\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m table_name: The name of the video index (e.g., 'lectures', 'interviews').\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m video_location: The URL or path to the video file to insert (e.g., local path or S3 URL).\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m Returns:\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m A confirmation message indicating success or failure.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mTool Name: query_video\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mTool Arguments: {'properties': {'table_name': {'anyOf': [], 'description': '', 'enum': None, 'items': None, \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m'properties': {}, 'title': 'Table Name', 'type': 'string'}, 'query_text': {'anyOf': [], 'description': '', \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m'enum': None, 'items': None, 'properties': {}, 'title': 'Query Text', 'type': 'string'}, 'top_n': {'anyOf': \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m[], 'default': 5, 'description': '', 'enum': None, '...\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "fde5dcf4d5784cf2bbbdc26f4a30f548",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭───────────────────────────────────────────── ✅ Agent Final Answer ─────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Video Specialist</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Final Answer:</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"># Final Answer</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">**Reasoning:**</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- We started by listing the existing video indexes to determine if the index \"baby_videos\" already existed.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- Since \"baby_videos\" was not found, we created it using the `setup_video_index` tool.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- Finally, we inserted the provided video URL </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">\"https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03\" into the \"baby_videos\" </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">index using the `insert_video` tool.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">**Summary of Successful Tool Use:**</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- **Index Listing:** Confirmed that \"baby_videos\" did not exist.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- **Index Creation:** Successfully created the \"baby_videos\" index.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- **Video Insertion:** Successfully inserted the video into the \"baby_videos\" index.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">**Recommended Next Actions:**</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- If you want to search for specific content within the inserted video, you can use the `query_video` tool </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">with a relevant query.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- Feel free to add more videos into this index or other indexes as needed.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">By following these steps, you now have a properly set up and populated video index for \"baby_videos.\"</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m────────────────────────────────────────────\u001b[0m\u001b[32m ✅ Agent Final Answer \u001b[0m\u001b[32m────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mVideo Specialist\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mFinal Answer:\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m# Final Answer\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m**Reasoning:**\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m- We started by listing the existing video indexes to determine if the index \"baby_videos\" already existed.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m- Since \"baby_videos\" was not found, we created it using the `setup_video_index` tool.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m- Finally, we inserted the provided video URL \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m\"https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03\" into the \"baby_videos\" \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mindex using the `insert_video` tool.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m**Summary of Successful Tool Use:**\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m- **Index Listing:** Confirmed that \"baby_videos\" did not exist.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m- **Index Creation:** Successfully created the \"baby_videos\" index.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m- **Video Insertion:** Successfully inserted the video into the \"baby_videos\" index.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m**Recommended Next Actions:**\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m- If you want to search for specific content within the inserted video, you can use the `query_video` tool \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mwith a relevant query.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m- Feel free to add more videos into this index or other indexes as needed.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mBy following these steps, you now have a properly set up and populated video index for \"baby_videos.\"\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭──────────────────────────────────────────────── Task Completion ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">Task Completed</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008000; text-decoration-color: #008000\">7c408440-fe8b-41f6-ad91-ae6474f3dea3</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #008000; text-decoration-color: #008000\">Video Specialist</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m Task Completion \u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[1;32mTask Completed\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[32m7c408440-fe8b-41f6-ad91-ae6474f3dea3\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[32mVideo Specialist\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭──────────────────────────────────────────────── Crew Completion ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">Crew Execution Completed</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008000; text-decoration-color: #008000\">crew</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">ID: </span><span style=\"color: #008000; text-decoration-color: #008000\">554abe2a-1d46-4502-96a3-d52b767f4987</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Final Output: # Final Answer</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">**Reasoning:**</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">- We started by listing the existing video indexes to determine if the index \"baby_videos\" already existed.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">- Since \"baby_videos\" was not found, we created it using the `setup_video_index` tool.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">- Finally, we inserted the provided video URL </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">\"https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03\" into the \"baby_videos\" </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">index using the `insert_video` tool.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">**Summary of Successful Tool Use:**</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">- **Index Listing:** Confirmed that \"baby_videos\" did not exist.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">- **Index Creation:** Successfully created the \"baby_videos\" index.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">- **Video Insertion:** Successfully inserted the video into the \"baby_videos\" index.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">**Recommended Next Actions:**</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">- If you want to search for specific content within the inserted video, you can use the `query_video` tool </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">with a relevant query.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">- Feel free to add more videos into this index or other indexes as needed.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">By following these steps, you now have a properly set up and populated video index for \"baby_videos.\"</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m Crew Completion \u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[1;32mCrew Execution Completed\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[32mcrew\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mID: \u001b[0m\u001b[32m554abe2a-1d46-4502-96a3-d52b767f4987\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mFinal Output: # Final Answer\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m**Reasoning:**\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m- We started by listing the existing video indexes to determine if the index \"baby_videos\" already existed.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m- Since \"baby_videos\" was not found, we created it using the `setup_video_index` tool.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m- Finally, we inserted the provided video URL \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m\"https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03\" into the \"baby_videos\" \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mindex using the `insert_video` tool.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m**Summary of Successful Tool Use:**\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m- **Index Listing:** Confirmed that \"baby_videos\" did not exist.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m- **Index Creation:** Successfully created the \"baby_videos\" index.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m- **Video Insertion:** Successfully inserted the video into the \"baby_videos\" index.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m**Recommended Next Actions:**\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m- If you want to search for specific content within the inserted video, you can use the `query_video` tool \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mwith a relevant query.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m- Feel free to add more videos into this index or other indexes as needed.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mBy following these steps, you now have a properly set up and populated video index for \"baby_videos.\"\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "112a4aeeaf854c66be69d7f45da421eb",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">--- Synthesizing Final Response ---\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"--- Synthesizing Final Response ---\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008080; text-decoration-color: #008080\">╭──────────────────────────────────────────── Crew Execution Started ─────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">Crew Execution Started</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008080; text-decoration-color: #008080\">crew</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">ID: </span><span style=\"color: #008080; text-decoration-color: #008080\">ac56f2b3-e5cf-48c0-9943-17e7e6690106</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[36m╭─\u001b[0m\u001b[36m───────────────────────────────────────────\u001b[0m\u001b[36m Crew Execution Started \u001b[0m\u001b[36m────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[1;36mCrew Execution Started\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[36mcrew\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mID: \u001b[0m\u001b[36mac56f2b3-e5cf-48c0-9943-17e7e6690106\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080\">╭─────────────────────────────────────────────── 🤖 Agent Started ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Synthesis Specialist</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Task: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00\">Based on the following result: {'result': '# Final Answer\\n\\n**Reasoning:**\\n- We started by listing </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">the existing video indexes to determine if the index \"baby_videos\" already existed.\\n- Since \"baby_videos\" </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">was not found, we created it using the `setup_video_index` tool.\\n- Finally, we inserted the provided video </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">URL \"https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03\" into the \"baby_videos\" </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">index using the `insert_video` tool.\\n\\n**Summary of Successful Tool Use:**\\n- **Index Listing:** Confirmed </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">that \"baby_videos\" did not exist.\\n- **Index Creation:** Successfully created the \"baby_videos\" index.\\n- </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">**Video Insertion:** Successfully inserted the video into the \"baby_videos\" index.\\n\\n**Recommended Next </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Actions:**\\n- If you want to search for specific content within the inserted video, you can use the </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">`query_video` tool with a relevant query.\\n- Feel free to add more videos into this index or other indexes as</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">needed.\\n\\nBy following these steps, you now have a properly set up and populated video index for </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">\"baby_videos.\"'} and the user query: Insert this video with URL as, </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' to video index </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">'baby_videos'. provide a precise and coherent response to the user</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[35m╭─\u001b[0m\u001b[35m──────────────────────────────────────────────\u001b[0m\u001b[35m 🤖 Agent Started \u001b[0m\u001b[35m───────────────────────────────────────────────\u001b[0m\u001b[35m─╮\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mSynthesis Specialist\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mTask: \u001b[0m\u001b[92mBased on the following result: {'result': '# Final Answer\\n\\n**Reasoning:**\\n- We started by listing \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mthe existing video indexes to determine if the index \"baby_videos\" already existed.\\n- Since \"baby_videos\" \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mwas not found, we created it using the `setup_video_index` tool.\\n- Finally, we inserted the provided video \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mURL \"https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03\" into the \"baby_videos\" \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mindex using the `insert_video` tool.\\n\\n**Summary of Successful Tool Use:**\\n- **Index Listing:** Confirmed \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mthat \"baby_videos\" did not exist.\\n- **Index Creation:** Successfully created the \"baby_videos\" index.\\n- \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m**Video Insertion:** Successfully inserted the video into the \"baby_videos\" index.\\n\\n**Recommended Next \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mActions:**\\n- If you want to search for specific content within the inserted video, you can use the \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m`query_video` tool with a relevant query.\\n- Feel free to add more videos into this index or other indexes as\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mneeded.\\n\\nBy following these steps, you now have a properly set up and populated video index for \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m\"baby_videos.\"'} and the user query: Insert this video with URL as, \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' to video index \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m'baby_videos'. provide a precise and coherent response to the user\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "99ee5e87a3cb45788ffc1e7c39cd6526",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭───────────────────────────────────────────── ✅ Agent Final Answer ─────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Synthesis Specialist</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Final Answer:</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">In response to your request, we have successfully completed the task of inserting your video into the </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">\"baby_videos\" index. Here's a breakdown of what we did:</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">1. We began by checking if the video index by the name \"baby_videos\" already existed. No such index was found</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">in the list of existing indices.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">2. Since the index \"baby_videos\" did not exist, we proceeded to create this index using the </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">`setup_video_index` tool. </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">3. Once the index was created, we executed the task of inserting the video with URL </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' into the \"baby_videos\" </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">index. This task was carried out successfully using the `insert_video` tool.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">With these steps, we have correctly set up and populated the \"baby_videos\" index.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">For future actions, if you wish to search for specific content within the inserted video, you can make use of</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">the `query_video` tool with a suitable query. You are also free to add more videos into this index or into </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">any other indices as needed.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Thus, the \"baby_videos\" index has been properly set up, and the video has been successfully inserted in it.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m────────────────────────────────────────────\u001b[0m\u001b[32m ✅ Agent Final Answer \u001b[0m\u001b[32m────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mSynthesis Specialist\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mFinal Answer:\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mIn response to your request, we have successfully completed the task of inserting your video into the \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m\"baby_videos\" index. Here's a breakdown of what we did:\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m1. We began by checking if the video index by the name \"baby_videos\" already existed. No such index was found\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92min the list of existing indices.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m2. Since the index \"baby_videos\" did not exist, we proceeded to create this index using the \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m`setup_video_index` tool. \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m3. Once the index was created, we executed the task of inserting the video with URL \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' into the \"baby_videos\" \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mindex. This task was carried out successfully using the `insert_video` tool.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mWith these steps, we have correctly set up and populated the \"baby_videos\" index.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mFor future actions, if you wish to search for specific content within the inserted video, you can make use of\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mthe `query_video` tool with a suitable query. You are also free to add more videos into this index or into \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92many other indices as needed.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mThus, the \"baby_videos\" index has been properly set up, and the video has been successfully inserted in it.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭──────────────────────────────────────────────── Task Completion ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">Task Completed</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008000; text-decoration-color: #008000\">4ff3efd6-cc1d-4b4f-bb51-eed27855ecf1</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #008000; text-decoration-color: #008000\">Synthesis Specialist</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m Task Completion \u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[1;32mTask Completed\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[32m4ff3efd6-cc1d-4b4f-bb51-eed27855ecf1\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[32mSynthesis Specialist\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭──────────────────────────────────────────────── Crew Completion ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">Crew Execution Completed</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008000; text-decoration-color: #008000\">crew</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">ID: </span><span style=\"color: #008000; text-decoration-color: #008000\">ac56f2b3-e5cf-48c0-9943-17e7e6690106</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Final Output: In response to your request, we have successfully completed the task of inserting your video </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">into the \"baby_videos\" index. Here's a breakdown of what we did:</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">1. We began by checking if the video index by the name \"baby_videos\" already existed. No such index was found</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">in the list of existing indices.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">2. Since the index \"baby_videos\" did not exist, we proceeded to create this index using the </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">`setup_video_index` tool. </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">3. Once the index was created, we executed the task of inserting the video with URL </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' into the \"baby_videos\" </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">index. This task was carried out successfully using the `insert_video` tool.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">With these steps, we have correctly set up and populated the \"baby_videos\" index.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">For future actions, if you wish to search for specific content within the inserted video, you can make use of</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">the `query_video` tool with a suitable query. You are also free to add more videos into this index or into </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">any other indices as needed.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Thus, the \"baby_videos\" index has been properly set up, and the video has been successfully inserted in it.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m Crew Completion \u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[1;32mCrew Execution Completed\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[32mcrew\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mID: \u001b[0m\u001b[32mac56f2b3-e5cf-48c0-9943-17e7e6690106\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mFinal Output: In response to your request, we have successfully completed the task of inserting your video \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37minto the \"baby_videos\" index. Here's a breakdown of what we did:\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m1. We began by checking if the video index by the name \"baby_videos\" already existed. No such index was found\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37min the list of existing indices.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m2. Since the index \"baby_videos\" did not exist, we proceeded to create this index using the \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m`setup_video_index` tool. \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m3. Once the index was created, we executed the task of inserting the video with URL \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' into the \"baby_videos\" \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mindex. This task was carried out successfully using the `insert_video` tool.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mWith these steps, we have correctly set up and populated the \"baby_videos\" index.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mFor future actions, if you wish to search for specific content within the inserted video, you can make use of\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mthe `query_video` tool with a suitable query. You are also free to add more videos into this index or into \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37many other indices as needed.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mThus, the \"baby_videos\" index has been properly set up, and the video has been successfully inserted in it.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "5cc093afb4ac4ccebda54b60bcaad751",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭──────────────────────────────────────────────── Flow Completion ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">Flow Execution Completed</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008000; text-decoration-color: #008000\">PixeltableManagerFlow</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">ID: </span><span style=\"color: #008000; text-decoration-color: #008000\">a89785b4-ea8b-4dd8-bd69-f6db6b837f2c</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m Flow Completion \u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[1;32mFlow Execution Completed\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[32mPixeltableManagerFlow\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mID: \u001b[0m\u001b[32ma89785b4-ea8b-4dd8-bd69-f6db6b837f2c\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"name": "stdout",
|
|
"output_type": "stream",
|
|
"text": [
|
|
"\n",
|
|
"==================================================\n",
|
|
"FINAL RESULT\n",
|
|
"==================================================\n"
|
|
]
|
|
},
|
|
{
|
|
"data": {
|
|
"text/markdown": [
|
|
"In response to your request, we have successfully completed the task of inserting your video into the \"baby_videos\" index. Here's a breakdown of what we did:\n",
|
|
"\n",
|
|
"1. We began by checking if the video index by the name \"baby_videos\" already existed. No such index was found in the list of existing indices.\n",
|
|
"2. Since the index \"baby_videos\" did not exist, we proceeded to create this index using the `setup_video_index` tool. \n",
|
|
"3. Once the index was created, we executed the task of inserting the video with URL 'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' into the \"baby_videos\" index. This task was carried out successfully using the `insert_video` tool.\n",
|
|
"\n",
|
|
"With these steps, we have correctly set up and populated the \"baby_videos\" index.\n",
|
|
"\n",
|
|
"For future actions, if you wish to search for specific content within the inserted video, you can make use of the `query_video` tool with a suitable query. You are also free to add more videos into this index or into any other indices as needed.\n",
|
|
"\n",
|
|
"Thus, the \"baby_videos\" index has been properly set up, and the video has been successfully inserted in it."
|
|
],
|
|
"text/plain": [
|
|
"<IPython.core.display.Markdown object>"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
}
|
|
],
|
|
"source": [
|
|
"result = await flow.kickoff_async(inputs={'query': \"Insert this video with URL as, 'https://github.com/user-attachments/assets/edf6c7f1-8888-4a01-ab7a-f608302fcd03' to video index 'baby_videos'.\"})\n",
|
|
"\n",
|
|
"print(f\"\\n{'='*50}\")\n",
|
|
"print(f\"FINAL RESULT\")\n",
|
|
"print(f\"{'='*50}\")\n",
|
|
"display(Markdown(result['result']))"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 10,
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080; font-weight: bold\"> Flow started with ID: a89785b4-ea8b-4dd8-bd69-f6db6b837f2c</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[1;35m Flow started with ID: a89785b4-ea8b-4dd8-bd69-f6db6b837f2c\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "1be79c74ee1a418d94fdbe4dcde160e4",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">Flow started with query: What's the name of the younger kid shown in this video stored in video index \n",
|
|
"'baby_videos'?\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"Flow started with query: What's the name of the younger kid shown in this video stored in video index \n",
|
|
"'baby_videos'?\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">--- Using Router Agent to classify query ---\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"--- Using Router Agent to classify query ---\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008080; text-decoration-color: #008080\">╭──────────────────────────────────────────── Crew Execution Started ─────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">Crew Execution Started</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008080; text-decoration-color: #008080\">crew</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">ID: </span><span style=\"color: #008080; text-decoration-color: #008080\">6b57df71-5b3a-4d88-9231-94fef603a0ea</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[36m╭─\u001b[0m\u001b[36m───────────────────────────────────────────\u001b[0m\u001b[36m Crew Execution Started \u001b[0m\u001b[36m────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[1;36mCrew Execution Started\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[36mcrew\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mID: \u001b[0m\u001b[36m6b57df71-5b3a-4d88-9231-94fef603a0ea\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080\">╭─────────────────────────────────────────────── 🤖 Agent Started ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Task Router</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Task: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00\">Analyze the following user query and determine which specialist should handle it: 'What's the name of </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">the younger kid shown in this video stored in video index 'baby_videos'?'.</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[35m╭─\u001b[0m\u001b[35m──────────────────────────────────────────────\u001b[0m\u001b[35m 🤖 Agent Started \u001b[0m\u001b[35m───────────────────────────────────────────────\u001b[0m\u001b[35m─╮\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mTask Router\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mTask: \u001b[0m\u001b[92mAnalyze the following user query and determine which specialist should handle it: 'What's the name of \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mthe younger kid shown in this video stored in video index 'baby_videos'?'.\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "235f41e3117c43968895196afeb742c9",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭───────────────────────────────────────────── ✅ Agent Final Answer ─────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Task Router</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Final Answer:</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">{</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> \"name\": \"video_specialist\"</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">}</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m────────────────────────────────────────────\u001b[0m\u001b[32m ✅ Agent Final Answer \u001b[0m\u001b[32m────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mTask Router\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mFinal Answer:\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m{\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m \"name\": \"video_specialist\"\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m}\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭──────────────────────────────────────────────── Task Completion ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">Task Completed</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008000; text-decoration-color: #008000\">50f6c651-9609-4396-b4c9-9ee6da77d018</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #008000; text-decoration-color: #008000\">Task Router</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m Task Completion \u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[1;32mTask Completed\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[32m50f6c651-9609-4396-b4c9-9ee6da77d018\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[32mTask Router\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭──────────────────────────────────────────────── Crew Completion ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">Crew Execution Completed</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008000; text-decoration-color: #008000\">crew</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">ID: </span><span style=\"color: #008000; text-decoration-color: #008000\">6b57df71-5b3a-4d88-9231-94fef603a0ea</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Final Output: {</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\"> \"name\": \"video_specialist\"</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">}</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m Crew Completion \u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[1;32mCrew Execution Completed\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[32mcrew\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mID: \u001b[0m\u001b[32m6b57df71-5b3a-4d88-9231-94fef603a0ea\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mFinal Output: {\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m \"name\": \"video_specialist\"\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37m}\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "1794fc6852ea4cffba4d7595230a3aba",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">--- Delegating to Video Specialist ---\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"--- Delegating to Video Specialist ---\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/pydantic/fields.py:1089: \n",
|
|
"PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use \n",
|
|
"`json_schema_extra` instead. (Extra keys: 'items', 'anyOf', 'enum', 'properties'). Deprecated in Pydantic V2.0 to \n",
|
|
"be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/\n",
|
|
" warn(\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/pydantic/fields.py:1089: \n",
|
|
"PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use \n",
|
|
"`json_schema_extra` instead. (Extra keys: 'items', 'anyOf', 'enum', 'properties'). Deprecated in Pydantic V2.0 to \n",
|
|
"be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/\n",
|
|
" warn(\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008080; text-decoration-color: #008080\">╭──────────────────────────────────────────── Crew Execution Started ─────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">Crew Execution Started</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008080; text-decoration-color: #008080\">crew</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">ID: </span><span style=\"color: #008080; text-decoration-color: #008080\">cd1d8e50-b45a-4870-997b-4423d8749522</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[36m╭─\u001b[0m\u001b[36m───────────────────────────────────────────\u001b[0m\u001b[36m Crew Execution Started \u001b[0m\u001b[36m────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[1;36mCrew Execution Started\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[36mcrew\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mID: \u001b[0m\u001b[36mcd1d8e50-b45a-4870-997b-4423d8749522\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080\">╭─────────────────────────────────────────────── 🤖 Agent Started ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Video Specialist</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Task: </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Interpret the following user query and take the appropriate video-related actions using Pixeltable's tools: </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">'What's the name of the younger kid shown in this video stored in video index 'baby_videos'?'.</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">You may:</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- Create video index with table name</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- Insert video file to specified video index</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- Query specified video index by text question</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">- List existing video indexes</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Choose the best actions to meet the user's request.</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[35m╭─\u001b[0m\u001b[35m──────────────────────────────────────────────\u001b[0m\u001b[35m 🤖 Agent Started \u001b[0m\u001b[35m───────────────────────────────────────────────\u001b[0m\u001b[35m─╮\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mVideo Specialist\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mTask: \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mInterpret the following user query and take the appropriate video-related actions using Pixeltable's tools: \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m'What's the name of the younger kid shown in this video stored in video index 'baby_videos'?'.\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mYou may:\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m- Create video index with table name\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m- Insert video file to specified video index\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m- Query specified video index by text question\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m- List existing video indexes\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mChoose the best actions to meet the user's request.\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "27bd60b1eee240408ce7118d099e5718",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080\">╭──────────────────────────────────────────── 🔧 Agent Tool Execution ────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Video Specialist</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Thought: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00\">Thought: I need to answer a query regarding the content of a video stored in the \"baby_videos\" </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">index. First, I'll verify if the \"baby_videos\" index exists by listing current video indexes. If it exists, </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">then I'll query that index with the user's question about the younger kid's name.</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Using Tool: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">list_video_tables</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[35m╭─\u001b[0m\u001b[35m───────────────────────────────────────────\u001b[0m\u001b[35m 🔧 Agent Tool Execution \u001b[0m\u001b[35m───────────────────────────────────────────\u001b[0m\u001b[35m─╮\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mVideo Specialist\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mThought: \u001b[0m\u001b[92mThought: I need to answer a query regarding the content of a video stored in the \"baby_videos\" \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mindex. First, I'll verify if the \"baby_videos\" index exists by listing current video indexes. If it exists, \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mthen I'll query that index with the user's question about the younger kid's name.\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mUsing Tool: \u001b[0m\u001b[1;92mlist_video_tables\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #000080; text-decoration-color: #000080\">╭────────────────────────────────────────────────── Tool Input ───────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #e6db74; text-decoration-color: #e6db74; background-color: #ffffff\">\"{}\"</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[34m╭─\u001b[0m\u001b[34m─────────────────────────────────────────────────\u001b[0m\u001b[34m Tool Input \u001b[0m\u001b[34m──────────────────────────────────────────────────\u001b[0m\u001b[34m─╮\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[38;2;230;219;116;49m\"{}\"\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭────────────────────────────────────────────────── Tool Output ──────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Current video indexes: video_index.two_kids, video_index.two_kids_chunks, video_index.funny_kids, </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">video_index.two_kids_sentence_chunks, video_index.funny_kids_chunks, video_index.baby_videos, </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">video_index.funny_kids_sentence_chunks, video_index.baby_videos_chunks, </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">video_index.baby_videos_sentence_chunks</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────────\u001b[0m\u001b[32m Tool Output \u001b[0m\u001b[32m─────────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mCurrent video indexes: video_index.two_kids, video_index.two_kids_chunks, video_index.funny_kids, \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mvideo_index.two_kids_sentence_chunks, video_index.funny_kids_chunks, video_index.baby_videos, \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mvideo_index.funny_kids_sentence_chunks, video_index.baby_videos_chunks, \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mvideo_index.baby_videos_sentence_chunks\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "3f1c65fb66064af4ad4c2749e8334c04",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080\">╭──────────────────────────────────────────── 🔧 Agent Tool Execution ────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Video Specialist</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Thought: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00\">Thought: I verified that the \"baby_videos\" index exists. The user's query asks, \"What's the name of </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">the younger kid shown in this video stored in video index 'baby_videos'?\" To address this, I will perform a </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">text-based search on the \"baby_videos\" index using the query provided. This should allow us to retrieve </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">details regarding the younger kid's name.</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Using Tool: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">query_video</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[35m╭─\u001b[0m\u001b[35m───────────────────────────────────────────\u001b[0m\u001b[35m 🔧 Agent Tool Execution \u001b[0m\u001b[35m───────────────────────────────────────────\u001b[0m\u001b[35m─╮\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mVideo Specialist\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mThought: \u001b[0m\u001b[92mThought: I verified that the \"baby_videos\" index exists. The user's query asks, \"What's the name of \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mthe younger kid shown in this video stored in video index 'baby_videos'?\" To address this, I will perform a \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mtext-based search on the \"baby_videos\" index using the query provided. This should allow us to retrieve \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mdetails regarding the younger kid's name.\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mUsing Tool: \u001b[0m\u001b[1;92mquery_video\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #000080; text-decoration-color: #000080\">╭────────────────────────────────────────────────── Tool Input ───────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #e6db74; text-decoration-color: #e6db74; background-color: #ffffff\">\"{\\\"table_name\\\": \\\"baby_videos\\\", \\\"query_text\\\": \\\"What's the name of the younger kid shown in this video?\\</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">│</span> <span style=\"color: #000080; text-decoration-color: #000080\">│</span>\n",
|
|
"<span style=\"color: #000080; text-decoration-color: #000080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[34m╭─\u001b[0m\u001b[34m─────────────────────────────────────────────────\u001b[0m\u001b[34m Tool Input \u001b[0m\u001b[34m──────────────────────────────────────────────────\u001b[0m\u001b[34m─╮\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[38;2;230;219;116;49m\"{\\\"table_name\\\": \\\"baby_videos\\\", \\\"query_text\\\": \\\"What's the name of the younger kid shown in this video?\\\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m│\u001b[0m \u001b[34m│\u001b[0m\n",
|
|
"\u001b[34m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭────────────────────────────────────────────────── Tool Output ──────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Query Results for 'What's the name of the younger kid shown in this video?' in 'video_index.baby_videos':</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">1. Score: 0.7542</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> Text: 4 and 3 are the same and 4 are the same</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> From video: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">/root/.pixeltable/file_cache/c685dae481f4484b8dc68abaf14e3f2d_0_74309abd171618130d632c61c3786b34f9f036df05091</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">e4592a54cb59c15308e</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> Uploaded: 2025-07-23 11:38:53.815268+00:00</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">2. Score: 0.7539</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> Text: Ahhhh</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> From video: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">/root/.pixeltable/file_cache/c685dae481f4484b8dc68abaf14e3f2d_0_74309abd171618130d632c61c3786b34f9f036df05091</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">e4592a54cb59c15308e</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> Uploaded: 2025-07-23 11:38:53.815268+00:00</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">3. Score: 0.7534</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> Text: Ouch Ouch Ouch Charlie Ahhhh</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> From video: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">/root/.pixeltable/file_cache/c685dae481f4484b8dc68abaf14e3f2d_0_74309abd171618130d632c61c3786b34f9f036df05091</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">e4592a54cb59c15308e</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> Uploaded: 2025-07-23 11:38:53.815268+00:00</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">4. Score: 0.7527</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> Text: Ha ha</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> From video: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">/root/.pixeltable/file_cache/c685dae481f4484b8dc68abaf14e3f2d_0_74309abd171618130d632c61c3786b34f9f036df05091</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">e4592a54cb59c15308e</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> Uploaded: 2025-07-23 11:38:53.815268+00:00</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">5. Score: 0.7462</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> Text: Ha ha ha Charlie Charlie bit me</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> From video: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">/root/.pixeltable/file_cache/c685dae481f4484b8dc68abaf14e3f2d_0_74309abd171618130d632c61c3786b34f9f036df05091</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">e4592a54cb59c15308e</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\"> Uploaded: 2025-07-23 11:38:53.815268+00:00</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────────\u001b[0m\u001b[32m Tool Output \u001b[0m\u001b[32m─────────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mQuery Results for 'What's the name of the younger kid shown in this video?' in 'video_index.baby_videos':\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m1. Score: 0.7542\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m Text: 4 and 3 are the same and 4 are the same\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m From video: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m/root/.pixeltable/file_cache/c685dae481f4484b8dc68abaf14e3f2d_0_74309abd171618130d632c61c3786b34f9f036df05091\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92me4592a54cb59c15308e\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m Uploaded: 2025-07-23 11:38:53.815268+00:00\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m2. Score: 0.7539\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m Text: Ahhhh\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m From video: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m/root/.pixeltable/file_cache/c685dae481f4484b8dc68abaf14e3f2d_0_74309abd171618130d632c61c3786b34f9f036df05091\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92me4592a54cb59c15308e\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m Uploaded: 2025-07-23 11:38:53.815268+00:00\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m3. Score: 0.7534\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m Text: Ouch Ouch Ouch Charlie Ahhhh\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m From video: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m/root/.pixeltable/file_cache/c685dae481f4484b8dc68abaf14e3f2d_0_74309abd171618130d632c61c3786b34f9f036df05091\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92me4592a54cb59c15308e\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m Uploaded: 2025-07-23 11:38:53.815268+00:00\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m4. Score: 0.7527\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m Text: Ha ha\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m From video: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m/root/.pixeltable/file_cache/c685dae481f4484b8dc68abaf14e3f2d_0_74309abd171618130d632c61c3786b34f9f036df05091\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92me4592a54cb59c15308e\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m Uploaded: 2025-07-23 11:38:53.815268+00:00\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m5. Score: 0.7462\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m Text: Ha ha ha Charlie Charlie bit me\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m From video: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m/root/.pixeltable/file_cache/c685dae481f4484b8dc68abaf14e3f2d_0_74309abd171618130d632c61c3786b34f9f036df05091\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92me4592a54cb59c15308e\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m Uploaded: 2025-07-23 11:38:53.815268+00:00\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "17f7c3aaf39a4a0690a4dabe286c7c43",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭───────────────────────────────────────────── ✅ Agent Final Answer ─────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Video Specialist</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Final Answer:</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">```</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Thought: I first verified that the \"baby_videos\" index exists. Then, I used the text-based query \"What's the </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">name of the younger kid shown in this video?\" on the \"baby_videos\" index. The returned results include </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">fragments with the name \"Charlie\" (e.g., \"Ouch Ouch Ouch Charlie Ahhhh\" and \"Ha ha ha Charlie Charlie bit </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">me\"), which strongly indicates that the younger kid in the video is named Charlie.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Action: (No further actions needed)</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m────────────────────────────────────────────\u001b[0m\u001b[32m ✅ Agent Final Answer \u001b[0m\u001b[32m────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mVideo Specialist\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mFinal Answer:\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92m```\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mThought: I first verified that the \"baby_videos\" index exists. Then, I used the text-based query \"What's the \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mname of the younger kid shown in this video?\" on the \"baby_videos\" index. The returned results include \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mfragments with the name \"Charlie\" (e.g., \"Ouch Ouch Ouch Charlie Ahhhh\" and \"Ha ha ha Charlie Charlie bit \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mme\"), which strongly indicates that the younger kid in the video is named Charlie.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mAction: (No further actions needed)\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭──────────────────────────────────────────────── Task Completion ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">Task Completed</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008000; text-decoration-color: #008000\">bad16ec9-646a-4255-9d07-0e0ac4c81093</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #008000; text-decoration-color: #008000\">Video Specialist</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m Task Completion \u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[1;32mTask Completed\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[32mbad16ec9-646a-4255-9d07-0e0ac4c81093\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[32mVideo Specialist\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭──────────────────────────────────────────────── Crew Completion ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">Crew Execution Completed</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008000; text-decoration-color: #008000\">crew</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">ID: </span><span style=\"color: #008000; text-decoration-color: #008000\">cd1d8e50-b45a-4870-997b-4423d8749522</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Final Output: ```</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Thought: I first verified that the \"baby_videos\" index exists. Then, I used the text-based query \"What's the </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">name of the younger kid shown in this video?\" on the \"baby_videos\" index. The returned results include </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">fragments with the name \"Charlie\" (e.g., \"Ouch Ouch Ouch Charlie Ahhhh\" and \"Ha ha ha Charlie Charlie bit </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">me\"), which strongly indicates that the younger kid in the video is named Charlie.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Action: (No further actions needed)</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m Crew Completion \u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[1;32mCrew Execution Completed\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[32mcrew\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mID: \u001b[0m\u001b[32mcd1d8e50-b45a-4870-997b-4423d8749522\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mFinal Output: ```\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mThought: I first verified that the \"baby_videos\" index exists. Then, I used the text-based query \"What's the \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mname of the younger kid shown in this video?\" on the \"baby_videos\" index. The returned results include \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mfragments with the name \"Charlie\" (e.g., \"Ouch Ouch Ouch Charlie Ahhhh\" and \"Ha ha ha Charlie Charlie bit \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mme\"), which strongly indicates that the younger kid in the video is named Charlie.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mAction: (No further actions needed)\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "3f461b16351e4a59ad4ad29304cda566",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">--- Synthesizing Final Response ---\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"--- Synthesizing Final Response ---\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008080; text-decoration-color: #008080\">╭──────────────────────────────────────────── Crew Execution Started ─────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">Crew Execution Started</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008080; text-decoration-color: #008080\">crew</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">ID: </span><span style=\"color: #008080; text-decoration-color: #008080\">b06be234-0e3e-4cff-bdc4-cb4199a0d7da</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">│</span> <span style=\"color: #008080; text-decoration-color: #008080\">│</span>\n",
|
|
"<span style=\"color: #008080; text-decoration-color: #008080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[36m╭─\u001b[0m\u001b[36m───────────────────────────────────────────\u001b[0m\u001b[36m Crew Execution Started \u001b[0m\u001b[36m────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[1;36mCrew Execution Started\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[36mcrew\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mID: \u001b[0m\u001b[36mb06be234-0e3e-4cff-bdc4-cb4199a0d7da\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n",
|
|
"\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080\">╭─────────────────────────────────────────────── 🤖 Agent Started ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Synthesis Specialist</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Task: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00\">Based on the following result: {'result': '```\\nThought: I first verified that the \"baby_videos\" index </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">exists. Then, I used the text-based query \"What\\'s the name of the younger kid shown in this video?\" on the </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">\"baby_videos\" index. The returned results include fragments with the name \"Charlie\" (e.g., \"Ouch Ouch Ouch </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Charlie Ahhhh\" and \"Ha ha ha Charlie Charlie bit me\"), which strongly indicates that the younger kid in the </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">video is named Charlie.\\n\\nAction: (No further actions needed)\\n'} and the user query: What's the name of the</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">younger kid shown in this video stored in video index 'baby_videos'? provide a precise and coherent response </span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">to the user</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">│</span> <span style=\"color: #800080; text-decoration-color: #800080\">│</span>\n",
|
|
"<span style=\"color: #800080; text-decoration-color: #800080\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[35m╭─\u001b[0m\u001b[35m──────────────────────────────────────────────\u001b[0m\u001b[35m 🤖 Agent Started \u001b[0m\u001b[35m───────────────────────────────────────────────\u001b[0m\u001b[35m─╮\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mSynthesis Specialist\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[37mTask: \u001b[0m\u001b[92mBased on the following result: {'result': '```\\nThought: I first verified that the \"baby_videos\" index \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mexists. Then, I used the text-based query \"What\\'s the name of the younger kid shown in this video?\" on the \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92m\"baby_videos\" index. The returned results include fragments with the name \"Charlie\" (e.g., \"Ouch Ouch Ouch \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mCharlie Ahhhh\" and \"Ha ha ha Charlie Charlie bit me\"), which strongly indicates that the younger kid in the \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mvideo is named Charlie.\\n\\nAction: (No further actions needed)\\n'} and the user query: What's the name of the\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92myounger kid shown in this video stored in video index 'baby_videos'? provide a precise and coherent response \u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[92mto the user\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m│\u001b[0m \u001b[35m│\u001b[0m\n",
|
|
"\u001b[35m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "7f53d2331e724b65b2890525682483a9",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭───────────────────────────────────────────── ✅ Agent Final Answer ─────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #00ff00; text-decoration-color: #00ff00; font-weight: bold\">Synthesis Specialist</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Final Answer:</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">The name of the younger kid shown in the video stored in the 'baby_videos' index is Charlie. The textual </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">analysis of the video was executed and search fragments such as \"Ouch Ouch Ouch Charlie Ahhhh\" and \"Ha ha ha </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #00ff00; text-decoration-color: #00ff00\">Charlie Charlie bit me\" from the index strongly indicate that the younger kid's name is Charlie.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m────────────────────────────────────────────\u001b[0m\u001b[32m ✅ Agent Final Answer \u001b[0m\u001b[32m────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[1;92mSynthesis Specialist\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mFinal Answer:\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mThe name of the younger kid shown in the video stored in the 'baby_videos' index is Charlie. The textual \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92manalysis of the video was executed and search fragments such as \"Ouch Ouch Ouch Charlie Ahhhh\" and \"Ha ha ha \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[92mCharlie Charlie bit me\" from the index strongly indicate that the younger kid's name is Charlie.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭──────────────────────────────────────────────── Task Completion ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">Task Completed</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008000; text-decoration-color: #008000\">d09ad40a-de75-4682-88e7-2d2a609dfb97</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Agent: </span><span style=\"color: #008000; text-decoration-color: #008000\">Synthesis Specialist</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m Task Completion \u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[1;32mTask Completed\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[32md09ad40a-de75-4682-88e7-2d2a609dfb97\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mAgent: \u001b[0m\u001b[32mSynthesis Specialist\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭──────────────────────────────────────────────── Crew Completion ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">Crew Execution Completed</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008000; text-decoration-color: #008000\">crew</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">ID: </span><span style=\"color: #008000; text-decoration-color: #008000\">b06be234-0e3e-4cff-bdc4-cb4199a0d7da</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Final Output: The name of the younger kid shown in the video stored in the 'baby_videos' index is Charlie. </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">The textual analysis of the video was executed and search fragments such as \"Ouch Ouch Ouch Charlie Ahhhh\" </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">and \"Ha ha ha Charlie Charlie bit me\" from the index strongly indicate that the younger kid's name is </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Charlie.</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m Crew Completion \u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[1;32mCrew Execution Completed\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[32mcrew\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mID: \u001b[0m\u001b[32mb06be234-0e3e-4cff-bdc4-cb4199a0d7da\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mFinal Output: The name of the younger kid shown in the video stored in the 'baby_videos' index is Charlie. \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mThe textual analysis of the video was executed and search fragments such as \"Ouch Ouch Ouch Charlie Ahhhh\" \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mand \"Ha ha ha Charlie Charlie bit me\" from the index strongly indicate that the younger kid's name is \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mCharlie.\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"application/vnd.jupyter.widget-view+json": {
|
|
"model_id": "8341c6d45fe24e23be845f082b8b6503",
|
|
"version_major": 2,
|
|
"version_minor": 0
|
|
},
|
|
"text/plain": [
|
|
"Output()"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
|
|
],
|
|
"text/plain": []
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #008000; text-decoration-color: #008000\">╭──────────────────────────────────────────────── Flow Completion ────────────────────────────────────────────────╮</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">Flow Execution Completed</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Name: </span><span style=\"color: #008000; text-decoration-color: #008000\">PixeltableManagerFlow</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">ID: </span><span style=\"color: #008000; text-decoration-color: #008000\">a89785b4-ea8b-4dd8-bd69-f6db6b837f2c</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0\">Tool Args: </span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">│</span> <span style=\"color: #008000; text-decoration-color: #008000\">│</span>\n",
|
|
"<span style=\"color: #008000; text-decoration-color: #008000\">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m Flow Completion \u001b[0m\u001b[32m───────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[1;32mFlow Execution Completed\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mName: \u001b[0m\u001b[32mPixeltableManagerFlow\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mID: \u001b[0m\u001b[32ma89785b4-ea8b-4dd8-bd69-f6db6b837f2c\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[37mTool Args: \u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n",
|
|
"\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"data": {
|
|
"text/html": [
|
|
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">\n",
|
|
"</pre>\n"
|
|
],
|
|
"text/plain": [
|
|
"\n"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
},
|
|
{
|
|
"name": "stdout",
|
|
"output_type": "stream",
|
|
"text": [
|
|
"\n",
|
|
"==================================================\n",
|
|
"FINAL RESULT\n",
|
|
"==================================================\n"
|
|
]
|
|
},
|
|
{
|
|
"data": {
|
|
"text/markdown": [
|
|
"The name of the younger kid shown in the video stored in the 'baby_videos' index is Charlie. The textual analysis of the video was executed and search fragments such as \"Ouch Ouch Ouch Charlie Ahhhh\" and \"Ha ha ha Charlie Charlie bit me\" from the index strongly indicate that the younger kid's name is Charlie."
|
|
],
|
|
"text/plain": [
|
|
"<IPython.core.display.Markdown object>"
|
|
]
|
|
},
|
|
"metadata": {},
|
|
"output_type": "display_data"
|
|
}
|
|
],
|
|
"source": [
|
|
"result = await flow.kickoff_async(inputs={'query': \"What's the name of the younger kid shown in this video stored in video index 'baby_videos'?\"})\n",
|
|
"\n",
|
|
"print(f\"\\n{'='*50}\")\n",
|
|
"print(f\"FINAL RESULT\")\n",
|
|
"print(f\"{'='*50}\")\n",
|
|
"display(Markdown(result['result']))"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"## 📊 Results and Analysis\n",
|
|
"\n",
|
|
"The output below shows the complete execution trace of the multimodal AI system, including:\n",
|
|
"\n",
|
|
"- **Router Decision**: How the query was classified\n",
|
|
"- **Specialist Execution**: The specific actions taken by the chosen agent\n",
|
|
"- **Tool Interactions**: Direct communication with Pixeltable services\n",
|
|
"- **Final Synthesis**: The polished user response\n",
|
|
"\n",
|
|
"### Next Steps:\n",
|
|
"- Try different query types to see how routing works\n",
|
|
"- Experiment with different media types (images, audio, documents)\n",
|
|
"- Monitor the execution flow to understand agent interactions"
|
|
]
|
|
}
|
|
],
|
|
"metadata": {
|
|
"kernelspec": {
|
|
"display_name": "Python 3",
|
|
"language": "python",
|
|
"name": "python3"
|
|
},
|
|
"language_info": {
|
|
"codemirror_mode": {
|
|
"name": "ipython",
|
|
"version": 3
|
|
},
|
|
"file_extension": ".py",
|
|
"mimetype": "text/x-python",
|
|
"name": "python",
|
|
"nbconvert_exporter": "python",
|
|
"pygments_lexer": "ipython3",
|
|
"version": "3.10.10"
|
|
}
|
|
},
|
|
"nbformat": 4,
|
|
"nbformat_minor": 4
|
|
}
|