routeur_ia_api / graphs

Commit History

Update training and service listing guidelines in chat and summarizer systems: Adjust the training year to 2025-2026, enhance the structure of service and training listings to include context-specific arguments, and clarify the use of contact information. Ensure that only verified details are provided and emphasize the importance of using catalog resources exclusively.
e5b1261
Running

Cyril Dupland commited on

Update agent model to 'mistral-small-2603': Change the model used in both the project and conversation subagents to 'mistral-small-2603' for improved performance and efficiency in summarization tasks.
7e60792

Cyril Dupland commited on

Add middleware factories for LangChain agents: Introduce new middleware functions for main and project summarizer agents, enhancing the agent's capabilities with context editing and summarization features. Update retrieval tools and agent workflows to integrate these middlewares, ensuring improved message handling and processing. Add tests to validate middleware functionality and defaults.
f656b76

Cyril Dupland commited on

Add sources parameter to completion requests and update documentation: Enhance the CompletionRequest model to include an optional sources field for document filtering. Update related API examples and documentation to reflect this change, ensuring clarity on usage and implications for project document retrieval.
686df05

Cyril Dupland commited on

Implement PDF summary generation tool: add a new tool for generating project-aware PDF summaries from conversations, enhancing the summarization capabilities of the agent. Update retrieval tools for improved metadata handling and streamline the agent's tool integration. Refactor PDF generation logic to handle link sanitization and improve error handling during PDF creation.
2337dfb

Cyril Dupland commited on

Refactor chat system prompt and tools: enhance resource organization by clarifying the structure of available resources, including services and training, and improve the 'check_project_id' tool to return None when no project is identified. Remove redundant session context from the agent's system prompt for cleaner implementation.
fade0fc

Cyril Dupland commited on

Update chat system prompt guidelines: remove references to similarity scores and 'slug', clarify service listing format by omitting unnecessary details, and ensure professional tone in responses.
277a370

Cyril Dupland commited on

Fix error replacement
e2e723f

Cyril Dupland commited on

Update dependencies and enhance agent functionality: upgrade LangChain to v1.2.x, adjust retrieval tools for improved pagination and filtering, and implement new project ID checks. Modify settings for RAG top-k and add support for custom state management in agents. Enhance documentation for streaming SSE client and tools policy, ensuring clarity on usage and constraints.
7c43c4c

Cyril Dupland commited on

Enhance chat tools agent: update tool call handling to prevent duplicate IDs by ensuring proper management of additional_kwargs, improving compatibility with Mistral API and overall message integrity.
62f1e38

Cyril Dupland commited on

Refactor chat tools agent: normalize tool call history and AI message handling to enhance conversation flow and maintain consistency in tool interactions.
db818f5

Cyril Dupland commited on

Enhance chat tools agent: implement unique ID assignment for tool calls to ensure compatibility with Mistral API, improve handling of tool call history, and update fallback ID generation for tool calls. Refactor conversation message handling to maintain safe history.
026c843

Cyril Dupland commited on

Implement V2 workflow for agent orchestration, including new chat tools agent with retrieval capabilities, classifier node enhancements, and summarizer integration. Add detailed documentation for V2 features and prompts, ensuring improved agent interaction and context handling.
2dcccd3

Cyril Dupland commited on

Refactoring gestion Agent
c392583

Cyril Dupland commited on

Enhance PDF generation and update configurations: Add PDF_LOGO_PATH to .env.example, include markdown-pdf in requirements.txt, and refactor PDF generation logic to support logo integration. Introduce tests for PDF generation from Markdown input and update summarizer agent to streamline export functionality.
3cd0aad

Cyril Dupland commited on

feat voice: init
48d6c63

Cyril Dupland commited on

Include project knowledge in Workflow
53e5530

Cyril Dupland commited on

Enhance conversation workflows by introducing summarization and classification agents. Implement retrieval nodes for document fetching, and update settings for Supabase integration. Add Markdown to PDF conversion utilities and improve agent service to handle document metadata. Refactor agent registry to support orchestrated workflows.
0ef1224

Cyril Dupland commited on

Refactor create_simple_graph_with_history to streamline system message creation by directly appending context information, enhancing clarity and reducing redundancy in message handling.
a564144

Cyril Dupland commited on

Refactor system message handling in create_simple_graph_with_history to utilize a template for dynamic content generation, improving clarity and maintainability. Update SYSTEM_PROMPT to SYSTEM_PROMPT_TEMPLATE for consistency in prompt management.
5a6a7e4

Cyril Dupland commited on

Refactor create_simple_graph_with_history to conditionally add SystemMessage only if not already present in conversation history, improving message management. Update agent_service.py to handle system messages in the message list.
9dc5e11

Cyril Dupland commited on

Update base_graph.py to format document output with XML-like tags and adjust retriever calls to specify a limit of 8 results for both formation and prestation types, improving document retrieval efficiency.
31b74c7

Cyril Dupland commited on

Fix streaming mode with old messages
29dbbb8

Cyril Dupland commited on

Refactor base_graph.py to support dual document types for retrieval and context formatting, enhancing the agent's ability to handle formation and prestation contexts separately.
b36f20e

Cyril Dupland commited on

Add first retriever
cda0fc0

Cyril Dupland commited on

Enhance base_graph.py to include SystemMessage and integrate system prompt in LLM call for improved conversation context
8f0bd26

Cyril Dupland commited on

Update model references from GPT-5 Pro to GPT-5 across enums, models, and service files, and adjust agent registry to use the history-enabled graph creation function.
717a5de

Cyril Dupland commited on

FIrst Commit
d28f1ed

Cyril Dupland commited on