Commit Graph

24 Commits

Author SHA1 Message Date
cf46d39a12 fix: wrap submit_tool_outputs call in try-except and add reset method to Agent class 2025-03-12 17:51:38 +00:00
d3f3772801 fix: wrap tool call execution in try-catch to capture exceptions as output strings 2025-03-12 17:28:28 +00:00
f3e61e97ca fix: correct misspelling of "transcript" in docstrings and comments across source files 2025-03-08 16:52:12 +00:00
05344c2813 chore: bump project version to 1.2.3 in package.json and setup.py 2025-03-08 12:43:37 +00:00
9ab3f0e0f1 feat: add vision demo with file upload and image URL extraction to Agent class 2025-03-07 16:28:58 +00:00
4362a2468e style: normalize string quotes, fix grammar, and clean up whitespace in demo files and __main__.py 2025-02-24 13:43:29 +00:00
612b1138ad feat: add tool execution support with sandboxed environment and validation
Implement EventHandler class for streaming tool call processing, add demo_tools console script and Makefile target, introduce demo_tools.py with echo and remember functions, and update ReplikaAgent with temperature parameter in demo_replika.py
2025-02-24 13:38:12 +00:00
e5c34df933 chore: replace free-tier pitch with setup guide and add assistant reuse logic in Agent init 2025-02-22 20:28:05 +00:00
c22d9eee25 fix: correct message_role assignment and iterable check in Agent.communicate
The diff shows two changes in `src/ragent/__init__.py` within the `Agent.communicate` method:
- Replaced `isinstance(message, list)` with `hasattr(message, "__iter__")` to support any iterable type for the messages parameter.
- Fixed a bug where `message_role` was incorrectly assigned to `message["content"]` instead of `message["role"]` when processing dict messages, and moved the assignment before the content extraction to preserve the role value.
2025-01-20 14:08:32 +00:00
22bdeaa2a1 feat: add narrative explaining embedding concepts and their applications
Adds a detailed section to README.md describing the practical challenges of implementing document embeddings with local LLMs like Ollama, including chunking strategies (paragraph, line, page), vector database integration with ChromaDB, and file format conversion considerations for book imports.
2025-01-20 12:46:48 +00:00
d08dc6ba0b docs: replace costs section with free olama setup guide and fix heading formatting 2025-01-20 12:36:59 +00:00
d88adcf3b8 docs: remove outdated Replika demo section and trim readme content to focus on core project description and setup 2025-01-20 05:52:44 +00:00
333c35aa7b docs: document dict-based message format and multi-message role shorthand in README 2025-01-20 05:50:48 +00:00
dc6b102e15 docs: add demo_batch_messages command and update readme with project description and setup instructions 2025-01-20 05:47:09 +00:00
a23d971789 docs: add cost section image and blank line before it in readme 2025-01-20 03:52:02 +00:00
ee22d41fc6 docs: add costs section and screenshot to README
Add a new "Costs" section to the README documenting the low operational cost of approximately ten cents per day of chat usage, along with a screenshot (costs.png) showing the actual expenses from extensive testing.
2025-01-20 03:50:22 +00:00
7fae2211a6 docs: rename section headers to clarify demo types in README 2025-01-20 03:44:49 +00:00
421e913892 docs: add horizontal rule separators between README sections for visual clarity 2025-01-20 03:43:43 +00:00
8abb339ac0 docs: replace markdown code fences with blockquote tags for discussion and replika examples 2025-01-20 03:42:18 +00:00
ee29f32681 docs: bold character names in discussion example output within README 2025-01-20 03:40:12 +00:00
3db564c90b docs: update code block language specifiers to markdown in README examples 2025-01-20 03:37:57 +00:00
6e3fd6f581 chore: add .env and .idea directory patterns to gitignore for environment and IDE exclusions 2025-01-20 03:36:22 +00:00
2ec66470fe feat: add MIT license headers and RAG documentation to source files and readme 2025-01-20 03:35:46 +00:00
3e1e9bf8ea chore: add initial project scaffolding with gitignore, makefile, setup, and ragent package skeleton 2025-01-20 03:29:17 +00:00