Skip to content

8-bit-processor/Modernized-version-of-T-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

T-bot (remake 2025)

T-bot is a modern remake of a python AI project "thinkebot" made in 2021 The original thinkerbot could analyze sentences using hardcoded parts of speech and grammar rules acquiring and storing word and phrases using object oriented programming and CSV files developed a semantical meaning using hardcoded scripting and logically assembled them into new sentence objects

Overview

T-bot 2025 is remake using a pipeline that combines LLM-based linguistic analysis with vector embeddings and lightweight mathematical reasoning. Because we are using Agent Ollama embeddings instead of hardcoded rules the logic system has more autonomous capability:

  • Instead of a scripted realm of statements, it accepts any natural language input
  • Instead of loops and hardcoded grammar rules it extracts structured linguistic objects and explicit facts (including conditional implications)
  • Instead of CSV files it Generates embeddings for inputs and persists analyses into a local knowledge base (tbot_analysis_data.json)
  • More robustly applies semantic and logical reasoning (similarity checks, implication extraction, modus ponens/tollens)

This repository contains the same concepts used in the original t-bot for building a semantic reasoning assistant except that becuase we are using Ollama(LLM) t-bot 2025 more capably bridges that barrier between natural-language structure with symbolic-style logic.

Quick Start

  1. Create and activate a virtual environment (Windows PowerShell):
python -m venv .venv
& .venv\Scripts\Activate.ps1
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the application:
python main.py

Notes

  • The project expects a local Ollama server for chat/embeddings. Ensure Ollama is running and accessible at its default API endpoint if you use the provided ollama integration.
  • The knowledge base (tbot_analysis_data.json) persists analyses; for testing you can clear it to start fresh.

About

Remake of a bot that applies mathematical reasoning to natural language.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages