Spaces:
Runtime error
Runtime error
Commit History
-
Preparar deploy no Hugging Face Spaces.
eriquesouza +1: CursorAdiciona Dockerfile na porta 7860, caches em /tmp e guia de deploy no README. Co-authored-by: Cursor <cursoragent@cursor.com>2f56bf2 -
Enhance agent and models for improved JSON handling and memory type normalization
eriquesouza- Updated `agent.py` to include a new function for parsing LLM output, ensuring strict JSON compliance and handling various output formats. - Modified response format in `agent.py` to clarify JSON structure requirements. - Enhanced `models.py` with a normalization function for memory types, allowing for flexible input handling and improved validation. - Introduced a field validator in `NewMemoryItem` to ensure correct memory type coercion during model instantiation.b7b030d
-
Refactor agent to utilize LangChain for enhanced chat interactions
eriquesouza- Updated `agent.py` to integrate LangChain's `ChatOpenAI` and `ChatPromptTemplate`, improving the handling of conversation history and memory context. - Introduced `AgentLLMOutput` and `NewMemoryItem` models in `models.py` to streamline response parsing and memory management. - Modified memory handling to support structured output and improved memory saving logic. - Updated `requirements.txt` to include necessary LangChain dependencies.fb06dfe
-
Revise agent and documentation for ISP customer service PoC
eriquesouza- Updated `agent.py` to reflect the new role as a customer service assistant for an ISP, focusing on resolving customer issues using past conversations. - Modified response format to require replies in Brazilian Portuguese and emphasized empathy in interactions. - Enhanced `README.md` to describe the new use case and structure, including details on memory types relevant to customer service. - Adjusted `index.html` to change the chat interface label and initial message to align with the ISP context, improving user guidance.eba72b3
-
Implement memory detail modal in `index.html` with enhanced styling and functionality
eriquesouza- Added a modal overlay for displaying detailed memory information. - Introduced new CSS styles for modal components, including header, body, and footer actions. - Updated card interactions to open the modal on click, improving user experience. - Enhanced existing styles for memory pills and card content for better visual feedback.5f56020
-
Enhance seed memories in `seeds.py` with new semantic and episodic entries
eriquesouza- Added multiple semantic memories reflecting user experiences and frustrations regarding internet services and TV subscriptions. - Introduced episodic memories capturing specific user interactions and events. - Improved context tagging and summaries for better categorization and understanding of user feedback.0c57a2b
-
Refactor query logic in MemoryStore for improved filtering
eriquesouza- Updated the query construction in `MemoryStore` to use a more structured approach with `$and` for combining filters. - Simplified the handling of `active_only` and `type_filter` parameters to enhance readability and maintainability.d617b55 -
Refactor agent to use OpenRouter API and update memory handling
eriquesouza- Replaced `anthropic` client with `httpx` for API calls in `agent.py`. - Updated memory creation in `memory_store.py` to allow optional `created_at` parameter. - Enhanced seed memories in `seeds.py` with `created_at` timestamps. - Modified HTML in `static/index.html` to display creation and last accessed dates for memories.cc75af5
-
Add initial implementation of retail business advisor agent with memory management
eriquesouza- Created core files: `agent.py` for agent logic, `memory_store.py` for memory handling, and `models.py` for data structures. - Implemented FastAPI app in `main.py` with endpoints for chat and memory management. - Added initial seed memories in `seeds.py` and a static HTML interface in `static/index.html`. - Updated `.gitignore` to include environment files and database directory. - Included a README with setup instructions and project structure.0d61e07 -
Initial commit
Unverified signature21cb6e5