hass-core/homeassistant/components/conversation/agent.py
Paulus Schoutsen a119932ee5
Refactor the conversation integration (#27839)
* Refactor the conversation integration

* Lint
2019-10-18 11:46:45 -07:00

12 lines
336 B
Python

"""Agent foundation for conversation integration."""
from abc import ABC, abstractmethod
from homeassistant.helpers import intent
class AbstractConversationAgent(ABC):
"""Abstract conversation agent."""
@abstractmethod
async def async_process(self, text: str) -> intent.IntentResponse:
"""Process a sentence."""