Chat Service
- class app.services.chat_service.ChatService(llm_service: LLMService, context_manager: ContextManager)[source]
Bases:
objectA service class for managing chat interactions with an AI assistant.
This class integrates the LLM service for generating responses and a context manager for maintaining conversation history.
- get_context_info() Dict[str, int][source]
Get information about the current context.
- Returns:
A dictionary containing the current and maximum context length.