Professor Codephreak

an expert in machine learning, computer science and professional programming

Professor Codephreak Software Engineer Machine Learning Platform Architect

Related articles

GraphRAG Evolves:

Understanding PathRAG and the Future of the Retrieval Augmented Generation Engine Retrieval Augmented Generative Engine (RAGE) has enhanced how we interact with large language models (LLMs). Instead of relying solely on the knowledge baked into the model during training, RAG systems can pull in relevant information from external sources, making them more accurate, up-to-date, and trustworthy. But traditional RAG, often relying on vector databases, has limitations. A new approach, leveraging knowledge graphs, is rapidly evolving, and […]

Learn More
Symbolic Logic

LogicTables Class: Managing Logic and Beliefs

The LogicTables class in logic.py is designed to handle logical expressions, evaluate their truth values, and manage beliefs as valid truths. It integrates with the SimpleMInd or similar neural network system to process and use truths effectively. Key Features: Initialization and Logging The LogicTables class initializes with logging configuration to capture debug information: Adding Variables and Expressions Truth tables are generated to evaluate logical expressions: Expressions are evaluated using logical operators: def evaluate_expression(self, expr, values):allowed_operators […]

Learn More
Socratic Reasoning

Understanding SocraticReasoning.py

understandin the ezAGI framework requires a fundamental comprehension of reasoning with SocraticReasoning.py disclaimer: ezAGI fundamental Augmented Generative Intelligence may or not be be fun. use at own risk. breaking changes version 1 To fully audit the behavior of how the premise field is populated in the SocraticReasoning class, we will: SocraticReasoning.py Audit Initialization and setup of SocraticReasoning class Adding Premises Programmatically Adding Premises Interactively Now, let’s look at the interactive part of the interact method: […]

Learn More