9 Commits

Author SHA1 Message Date
1be5cc047c Fix browser closure timing in search agent
Move defer statement to ensure browser closure occurs only after assigning the browser to the context. This prevents potential issues of premature resource release.
2025-04-12 02:22:10 -04:00
5d2c350acf Consolidated a bunch of reused code to agents 2025-03-26 00:21:19 -04:00
5407c1a7cc Refactor search agent for concurrency and simplify flow
Removed redundant fields and callbacks in the search agent while introducing concurrent processing for reading search results. Updated logic to enhance readability and modularity, including capped reads and streamlined interaction with search results. Adjusted dependencies and related usage to align with the refactored design.
2025-03-21 18:12:19 -04:00
693ac4e6a7 Add core implementation for AI-powered question answering
Introduce multiple agents, tools, and utilities for processing, extracting, and answering user-provided questions using LLMs and external data. Key features include knowledge processing, question splitting, search term generation, and contextual knowledge handling.
2025-03-21 11:10:48 -04:00
37c18b3b58 Update module name to match new repository URL
Renamed the Go module to align with the updated repository path for better clarity and organization. This ensures consistency across the project and prevents potential import conflicts.
2025-02-21 18:45:27 -05:00
6c30fdf4d8 Add DuckDuckGo support and refactor caching system
Introduced DuckDuckGo as a new search provider alongside Google. Implemented a flexible caching system with in-memory, file-based, and no-op cache options to improve modularity. Updated dependencies and revised the project structure for improved maintainability.
2025-02-21 18:40:25 -05:00
7a43e3a5c8 Fix unmarshalling issues and adjust logging for debugging
Modify `FunctionCall` struct to handle arguments as strings. Add debugging logs to facilitate error tracing and improve JSON unmarshalling in various functions.
2024-11-11 00:23:00 -05:00
a83d5f9822 sync of changes 2024-11-09 19:50:14 -05:00
98fa840f87 initial commit 2024-11-08 20:51:12 -05:00