quivr/backend
Stan Girard b60a31e561
docs: Add docstrings to integration brains (#2582)
This pull request adds comprehensive docstrings to the Brain classes
within the `backend/modules/brain/integrations` directory, enhancing
code documentation and readability. The changes include:

- **BigBrain (`Big/Brain.py`)**: Adds a class-level docstring explaining
the purpose and functionality of the BigBrain class, along with
method-level docstrings detailing the operations performed by each
method.
- **ClaudeBrain (`Claude/Brain.py`)**: Introduces a class-level
docstring that describes the ClaudeBrain class's integration with the
Claude model for conversational AI capabilities, and method-level
docstrings that clarify the purpose of each method.
- **GPT4Brain (`GPT4/Brain.py`)**: Updates include a detailed
class-level docstring outlining the GPT4Brain's integration with GPT-4
for real-time answers and tool support, along with method-level
docstrings explaining the functionality of each method.
- **NotionBrain (`Notion/Brain.py`)**: Adds a class-level docstring that
describes the NotionBrain's role in leveraging Notion data for
knowledge-based responses.
- **ProxyBrain (`Proxy/Brain.py`)**: Incorporates a class-level
docstring explaining the ProxyBrain's function as a dynamic language
model selector and method-level docstrings detailing the operations of
each method.

These additions ensure that each Brain class and its methods are
well-documented, providing clear insights into their purposes and
functionalities.


---

For more details, open the [Copilot Workspace
session](https://copilot-workspace.githubnext.com/QuivrHQ/quivr?shareId=b4e301ad-828e-4424-95ec-6e378d5d3849).
2024-05-10 14:46:55 -07:00
..
.vscode feat: ⚙️🐞 configure debugger for the backend (#1345) 2023-10-09 15:23:13 +02:00
middlewares feat: new landing page (#2264) 2024-02-25 18:09:01 -08:00
models feat(backend): Add a pre_pring on Connection polling to handle disconnection (#2534) 2024-05-03 01:42:17 -07:00
modules docs: Add docstrings to integration brains (#2582) 2024-05-10 14:46:55 -07:00
packages feat(brave-search): Update GPT4Brain tools and add WebSearchTool (#2576) 2024-05-10 03:22:15 -07:00
routes feat(crawler): Add Playwright for web crawling (#2562) 2024-05-08 07:20:35 -07:00
supabase feat(frontend): add notifications for document uploads (#2549) 2024-05-06 08:57:02 -07:00
tests feat: Add telemetry ping task to celery worker and main.py (#2494) 2024-04-25 07:22:13 -07:00
vectorstore feat(custom): big brain (#2198) 2024-02-16 17:14:30 -08:00
__init__.py refactor: Refacto code #1 (#2458) 2024-04-20 02:22:05 -07:00
.dockerignore feat(notion): added custom integration (#2268) 2024-02-27 21:30:25 -08:00
celery_config.py Revert "feat(celery): moved assistant summary to celery" (#2558) 2024-05-07 09:20:42 -07:00
celery_worker.py ci(ecr): added build to public ecr (#2564) 2024-05-08 07:42:31 -07:00
ci-migration.sh Update supabase token setting in ci-migration.sh 2024-05-02 00:04:01 +02:00
Dockerfile feat(crawler): Add Playwright for web crawling (#2562) 2024-05-08 07:20:35 -07:00
Dockerfile.dev feat(crawler): Add Playwright for web crawling (#2562) 2024-05-08 07:20:35 -07:00
logger.py Refactor logging configuration and remove unused imports 2024-04-28 13:35:07 +02:00
main.py feat(notifications): implemented notifications with RLS and realtime (#2525) 2024-05-01 11:11:12 -07:00
manage_services.sh feat(integration): implementation (#2191) 2024-02-14 20:07:53 -08:00
Porter.yaml feat(porter): Add Porter.yaml files for backend and frontend services 2024-04-25 10:51:10 +02:00
pyrightconfig.json feat(refacto): changed a bit of things to make better dx (#984) 2023-08-19 13:32:16 +02:00
requirements.txt feat(gpt4): Add search functionality (#2566) 2024-05-09 07:01:33 -07:00