quivr/backend/modules/assistant/repository/assistant_interface.py
Stan Girard 1ffeb8f25d
feat: Add assistant module and remove ingestion module (#2420)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-04-10 04:28:22 -07:00

17 lines
378 B
Python

from abc import ABC, abstractmethod
from typing import List
from modules.assistant.entity.assistant import AssistantEntity
class AssistantInterface(ABC):
@abstractmethod
def get_all_assistants(self) -> List[AssistantEntity]:
"""
Get all the knowledge in a brain
Args:
brain_id (UUID): The id of the brain
"""
pass