quivr/backend/modules/brain
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
..
controller refactor: Refacto code #1 (#2458) 2024-04-20 02:22:05 -07:00
dto feat(brains): added description (#2224) 2024-02-19 21:44:06 -08:00
entity feat(backend): use SQLAlchemy instead od supabase API (#2516) 2024-04-29 01:27:50 -07:00
integrations docs: Add docstrings to integration brains (#2582) 2024-05-10 14:46:55 -07:00
rags feat(supabase): Add logging statements and refactor Supabase client creation (#2514) 2024-04-28 07:23:14 -07:00
repository feat(backend): use SQLAlchemy instead od supabase API (#2516) 2024-04-29 01:27:50 -07:00
service refactor: reorg the files #2 (#2457) 2024-04-20 02:28:20 -07:00
tests tests: added new way of testing less prone to errors 2024-04-15 18:22:21 +02:00
__init__.py refactor: to modules (#1754) 2023-11-30 22:29:28 +01:00
api_brain_qa.py refactor: reorg the files #2 (#2457) 2024-04-20 02:28:20 -07:00
composite_brain_qa.py Remove unused 'model' variable and logging statements (#2228) 2024-02-20 02:14:02 -08:00
knowledge_brain_qa.py feat(gpt4): image generation (#2569) 2024-05-09 10:00:51 -07:00
qa_headless.py refactor: reorg the files #2 (#2457) 2024-04-20 02:28:20 -07:00
qa_interface.py feat(citations): system added (#2498) 2024-04-26 08:11:01 -07:00