MCPcopy Create free account

hub / github.com/daveebbelaar/ai-cookbook / types & classes

Types & classes74 in github.com/daveebbelaar/ai-cookbook

↓ 3 callersClassBM25Retriever
knowledge/hybrid-retrieval/utils/retrievers.py:37
↓ 3 callersClassDenseRetriever
knowledge/hybrid-retrieval/utils/retrievers.py:53
↓ 2 callersClassCalendarResponse
Final response format
patterns/workflows/2-workflow-patterns/2-routing.py:60
↓ 2 callersClassOpenAITokenizerWrapper
Minimal wrapper for OpenAI's tokenizer.
knowledge/docling/utils/tokenizer.py:8
↓ 2 callersClassSoraDirector
models/openai/08-video/utils/director.py:9
↓ 1 callersClassAction
models/openai/10-human-in-the-loop/1-structured-output.py:58
↓ 1 callersClassBlogOrchestrator
patterns/workflows/2-workflow-patterns/4-orchestrator.py:133
↓ 1 callersClassCustomerDeps
agents/agent-complexity/3-tool-calling-agent.py:24
↓ 1 callersClassCustomerSupportAIAgent
knowledge/mem0/oss/support_agent.py:8
↓ 1 callersClassEmailProcessor
knowledge/mem0/cloud/email_example.py:12
↓ 1 callersClassMCPOpenAIClient
Client for interacting with OpenAI models using MCP tools.
mcp/crash-course/4-openai-integration/client.py:19
↓ 1 callersClassSearchAgent
Multi-source search agent with conversation history.
context/web/tools/agent.py:23
↓ 1 callersClassSource
context/web/1-get-single-page.py:15
↓ 1 callersClassYouTubeTranscriptService
Service class wrapping youtube-transcript-api with proxy support.
mcp/servers/youtube/src/service.py:13
ClassActionPlan
models/openai/10-human-in-the-loop/1-structured-output.py:71
ClassAgentAnswer
context/web/tools/models.py:12
ClassArticleSummary
models/openai/04-structured-output/04-structured-output.py:184
ClassBillingResolution
agents/agent-complexity/3-tool-calling-agent.py:32
ClassCalendarEvent
patterns/workflows/1-introduction/2-structured.py:14
ClassCalendarEvent
models/openai/05-responses/05-structured-output.py:52
ClassCalendarRequestType
Router LLM call: Determine the type of calendar request
patterns/workflows/2-workflow-patterns/2-routing.py:23
ClassCalendarValidation
Check if input is a valid calendar request
patterns/workflows/2-workflow-patterns/3-parallizaton.py:27
ClassCategory
agents/agent-complexity/2-prompt-chains.py:21
ClassChange
Details for changing an existing event
patterns/workflows/2-workflow-patterns/2-routing.py:42
ClassChunkMetadata
You must order the fields in alphabetical order. This is a requirement of the Pydantic implementation.
knowledge/docling/3-embedding.py:56
ClassChunks
knowledge/docling/3-embedding.py:68
ClassCitation
context/web/3-search-handbook.py:23
ClassCitation
context/web/2-web-search.py:15
ClassCitation
context/web/tools/models.py:6
ClassCitation
One source backing a claim in the answer.
knowledge/agentic-rag/5-structured-output.py:21
ClassCitation
One source backing a claim in the answer.
knowledge/agentic-rag/6-production.py:195
ClassCityLocation
models/openai/07-gpt-oss/gpt-oss.py:10
ClassConcept
models/openai/04-structured-output/04-structured-output.py:190
ClassCustomerEmail
agents/agent-complexity/5-multi-agent.py:131
ClassCustomerEmail
agents/agent-complexity/4-agent-harness.py:80
ClassCustomerSentiment
Enumeration of customer sentiment labels.
models/openai/04-structured-output/Instructor/04-ticket-system.py:23
ClassEventConfirmation
Third LLM call: Generate confirmation message
patterns/workflows/2-workflow-patterns/1-prompt-chaining.py:45
ClassEventDetails
Second LLM call: Parse specific event details
patterns/workflows/2-workflow-patterns/1-prompt-chaining.py:34
ClassEventExtraction
First LLM call: Extract basic event information
patterns/workflows/2-workflow-patterns/1-prompt-chaining.py:24
ClassHandbookAnswer
context/web/3-search-handbook.py:28
ClassHarnessOutput
agents/agent-complexity/4-agent-harness.py:85
ClassIntentClassification
agents/building-blocks/5-control.py:11
ClassKBResponse
patterns/workflows/1-introduction/4-retrieval.py:94
ClassModifyEventDetails
Details for modifying an existing event
patterns/workflows/2-workflow-patterns/2-routing.py:49
ClassNewEventDetails
Details for creating a new event
patterns/workflows/2-workflow-patterns/2-routing.py:33
ClassOrchestratorOutput
agents/agent-complexity/5-multi-agent.py:136
ClassOrchestratorPlan
Orchestrator's blog structure and tasks
patterns/workflows/2-workflow-patterns/4-orchestrator.py:33
ClassReply
models/openai/04-structured-output/04-structured-output.py:120
ClassReply
models/openai/04-structured-output/Instructor/03-content-filtering.py:27
ClassReply
models/openai/04-structured-output/Instructor/02-output-validation.py:24
ClassReply
models/openai/04-structured-output/Instructor/01-instructor.py:21
ClassResolution
agents/agent-complexity/2-prompt-chains.py:32
ClassReviewFeedback
Final review and suggestions
patterns/workflows/2-workflow-patterns/4-orchestrator.py:55
ClassSearchAnswer
Structured answer with at least one citation per claim.
knowledge/agentic-rag/5-structured-output.py:33
ClassSearchAnswer
Structured answer with citations that downstream code can trust.
knowledge/agentic-rag/6-production.py:204
ClassSearchResult
context/web/2-web-search.py:20
ClassSectionContent
Content written by a worker
patterns/workflows/2-workflow-patterns/4-orchestrator.py:41
ClassSecurityCheck
Check for prompt injection or system manipulation attempts
patterns/workflows/2-workflow-patterns/3-parallizaton.py:34
ClassStep
models/openai/04-structured-output/04-structured-output.py:76
ClassSubTask
Blog section task defined by orchestrator
patterns/workflows/2-workflow-patterns/4-orchestrator.py:24
ClassSuggestedEdits
Suggested edits for a section
patterns/workflows/2-workflow-patterns/4-orchestrator.py:48
ClassSummary
context/web/1-get-single-page.py:19
ClassTaskResult
More info: https://docs.pydantic.dev
agents/building-blocks/4-validation.py:12
ClassTicket
models/openai/04-structured-output/Instructor/04-ticket-system.py:31
ClassTicketCategory
Enumeration of categories for incoming tickets.
models/openai/04-structured-output/04-structured-output.py:110
ClassTicketCategory
Enumeration of categories for incoming tickets.
models/openai/04-structured-output/Instructor/04-ticket-system.py:15
ClassTicketCategory
Enumeration of categories for incoming tickets.
models/openai/04-structured-output/Instructor/02-output-validation.py:15
ClassTicketCategory
Enumeration of categories for incoming tickets.
models/openai/04-structured-output/Instructor/01-instructor.py:61
ClassTicketClassification
agents/agent-complexity/1-augmented-llm.py:17
ClassTicketClassification
agents/agent-complexity/2-prompt-chains.py:27
ClassTicketResolution
models/openai/04-structured-output/04-structured-output.py:75
ClassUserInfo
agents/building-blocks/6-recovery.py:11
ClassValidatedReply
models/openai/04-structured-output/Instructor/03-content-filtering.py:51
ClassWeatherResponse
patterns/workflows/1-introduction/3-tools.py:96