graph LR
QueryProcessor["QueryProcessor"]
LanguageModel["LanguageModel"]
ToolExecutor["ToolExecutor"]
ResponseFormatter["ResponseFormatter"]
Unclassified["Unclassified"]
QueryProcessor -- "sends queries to" --> LanguageModel
LanguageModel -- "may invoke" --> ToolExecutor
ToolExecutor -- "returns results to" --> LanguageModel
LanguageModel -- "sends responses to" --> ResponseFormatter
click QueryProcessor href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/ABCs-of-control/QueryProcessor.md" "Details"
click LanguageModel href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/ABCs-of-control/LanguageModel.md" "Details"
click ToolExecutor href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/ABCs-of-control/ToolExecutor.md" "Details"
This graph represents the core functionality of a system that processes user queries, generates responses using a language model, and potentially interacts with external tools. The main flow involves receiving a query, parsing it, generating a response, and then presenting it to the user. Its purpose is to provide an intelligent conversational interface.
QueryProcessor [Expand]
Handles incoming user queries, including parsing and initial validation.
Related Classes/Methods:
QueryParser:parseQueryValidator:validate
LanguageModel [Expand]
Generates responses based on processed queries using a large language model.
Related Classes/Methods:
LLM:generate_response
ToolExecutor [Expand]
Executes external tools or APIs as directed by the language model.
Related Classes/Methods:
ToolRegistry:get_toolExternalTool:execute
Formats the generated response for presentation to the user.
Related Classes/Methods:
Component for all unclassified files and utility functions (Utility functions/External Libraries/Dependencies)
Related Classes/Methods: None