meetara / core

Commit History

Enhance UI and functionality of prompt suggestions and chat interface. Update styles for quick prompts and category-based prompts to align with Perplexity-style design. Improve JavaScript handling for prompt chip interactions and visibility management. Refactor geometry query detection in MeeTARA agent to support radius and diameter extraction, enhancing calculator capabilities for geometry-related queries. Adjust logging for better debugging and user experience.
aee92ca

rameshbasina commited on

Add prompt suggestions feature with Perplexity-style UI. Introduce loading mechanism for prompt suggestions from a JSON config file, including categories and quick prompts. Enhance HTML generation for displaying suggestions based on chat state. Update styles for prompt chips and implement JavaScript for interaction and visibility management. Create a new JSON configuration file for prompt suggestions.
9b3bcb5

rameshbasina commited on

Add detailed analysis of MeeTARA Core and Agent scripts, highlighting their roles, responsibilities, and interactions. Introduce a new Word Problem Handling Strategy document outlining the approach for different types of word problems. Update README to include model configuration details, emphasizing customizable system prompts and generation settings. Enhance agent configuration to support geometry keywords and word problem strategies for improved query handling.
1293cde

rameshbasina commited on

Enhance README with detailed Google Custom Search API cost information and automatic fallback to DuckDuckGo. Introduce a new TEST_QUESTIONS.md file with comprehensive sample queries for various functionalities, including math, web search, and algorithms. Update agent configuration to improve news query handling and enhance calculator capabilities with natural language processing for percentages, divisions, and geometry queries. Improve logging for better debugging and user experience.
aa73f1c

rameshbasina commited on

Implement environment variable loading for local development and enhance README with search provider setup details. Remove smolagents dependency, transitioning to a direct agent approach with improved web search functionality using Google Custom Search API and DuckDuckGo. Update agent configuration to support multiple search providers and enhance logging for better debugging.
f47ff63

rameshbasina commited on

Enhance query extraction logic in MeeTARAAgent for improved search accuracy. Implement smart cleaning techniques for various query formats, validate extracted search queries, and ensure robust handling of edge cases. Update logging to provide better insights into query processing and web search results.
757fad8

rameshbasina commited on

Refactor agent mode handling and enhance calculator/web search tools. Agent mode is now always enabled by default, removing the checkbox UI. The calculator and web search functions have been updated to operate independently of smolagents, with improved error handling and logging for better debugging.
9873736

rameshbasina commited on

Update README with agent flow diagram and configuration details. Add config-based agent system with agent_config.json for tool detection keywords and patterns.
55664a3

rameshbasina commited on

Remove smolagents dependency - use simple direct agent. Add detailed logging for tool results fed to model
0e3f25d

rameshbasina commited on

Fix: Remove verbose parameter (not supported in smolagents 1.23.0 MultiStepAgent)
db6255a

rameshbasina commited on

Try ToolCallingAgent first (better for tool use), add debug logging
718e11c

rameshbasina commited on

Add verbose logging to agent run() to debug tool usage
4c48079

rameshbasina commited on

Fix: Handle ChatMessage objects from smolagents (not dicts) + try CodeAgent first
4673bc9

rameshbasina commited on

Fix: Add generate() method to MeeTARAModelWrapper (smolagents calls .generate() not __call__) + clarify smolagents role
fe63321

rameshbasina commited on

Fix: Create custom web search tool (DuckDuckGoSearchTool not in smolagents 1.23.0)
ef2f679

rameshbasina commited on

Debug smolagents import - add step-by-step logging to identify API issue
f2148f5

rameshbasina commited on

Add Smolagents integration - Agent Mode with web search and calculator tools
69a6444

rameshbasina commited on

Improve math accuracy: update system prompt to prioritize correctness, lower temp to 0.2
dfde3df

rameshbasina commited on

Remove broken/inaccurate models (qwen3-1.7b, qwen2.5-1.5b), lower temp to 0.3 for accuracy
256c716

rameshbasina commited on

Only add BOS token for Qwen3 thinking models, preserve Qwen2.5 behavior
3a8504e

rameshbasina commited on

Fix Qwen3: add BOS token, lower temp to 0.3, add repeat_penalty, better debug logging
826e460

rameshbasina commited on

Fix Qwen3: remove /no_think (causes garbage), let model think and handle in post-processing
136e420

rameshbasina commited on

Add debug logging for Qwen3 to diagnose early end token
1286810

rameshbasina commited on

Fix Qwen3: increase min tokens to 150 before stop check, cleanup unused core modules
e75dd7d

rameshbasina commited on

Remove deprecated modules: delete document processor, complexity analyzer, content safety, emotion analyzer, enhanced domain detector, enhanced integration, identity handler, lab emotion detector, lab router, lab translation, lab voice synthesis, personalization manager, response validator, and structure adapter files.
ed0681f

rameshbasina commited on

Fix Qwen3 thinking models: add /no_think suffix and improve end token detection
de6b294

rameshbasina commited on

Fix Qwen3: Require 30+ tokens before stopping, don't cut at position 0, add debug logging
f61552c

rameshbasina commited on

Fix: Qwen3 - remove /no_think, dont cutoff at position 0
2366229

rameshbasina commited on

Fix: Qwen3 early stop (require 10+ tokens), handle None response
591fd84

rameshbasina commited on

Revert: max_tokens back to 400 (model stops naturally)
c03a400

rameshbasina commited on

Reduce max_tokens to 250, remove duplicates, clean leaked text
6ff08dd

rameshbasina commited on

Simplify prompt + clean leaked rules (STRICT RULES)
fc07826

rameshbasina commited on

Optimize: HF Free tier (2 vCPU, 16GB RAM) settings
6027506

rameshbasina commited on

Strict: Answer FIRST, no repeating, exact order
3b060c1

rameshbasina commited on

Force rebuild: Version 2.1
fede339

rameshbasina commited on

Fix: All indentation errors (except blocks)
2792d00

rameshbasina commited on

Fix: Indentation error on line 160 (break statement)
c4aee1e

rameshbasina commited on

Fix: Indentation error on line 74 (except block)
eb3daf0

rameshbasina commited on

Balance: Reasonable limits (3-4 bullets, 1-2 sentence note)
5b74487

rameshbasina commited on

Strict: 150 word limit, ONE sentence Note, no rambling
87a0d1e

rameshbasina commited on

Fix: Enforce concise sections (1-2 sentences, 2-4 bullets, no repeating)
59d183a

rameshbasina commited on

Optimize: Cleaner system prompt with essential rules (~100 tokens)
e96f1cf

rameshbasina commited on

Fix: Better cutoff for hallucinated conversations (Human:, H:, User:)
347c2ec

rameshbasina commited on

Fix: Explicit emoji format + concise Note section
d0546ce

rameshbasina commited on

Balance: Clearer format in prompt (~80 tokens)
bf157e4

rameshbasina commited on

Optimize: Compact system prompt (~50 tokens vs ~350)
f4424d3

rameshbasina commited on

Fix: Universal system prompt + clean leaked rules from output
3ef3bc9

rameshbasina commited on

ENHANCE: Refine crisis keyword detection and system prompt for improved user safety
14dcbbf

rameshbasina commited on

ENHANCE: Implement hard-coded safety checks for crisis and violence responses
825a52d

rameshbasina commited on

REFINE: Update system prompt for clarity and relevance
a7fd278

rameshbasina commited on