Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Composite Brain] AAU, I can create a composite brain from the brain creation module #1832

Closed
gozineb opened this issue Dec 6, 2023 · 1 comment
Assignees
Labels
area: backend Related to backend functionality or under the /backend directory area: frontend Related to frontend functionality or under the /frontend directory

Comments

@gozineb
Copy link
Contributor

gozineb commented Dec 6, 2023

The What

  • Modify the brain creation modal:
  • Add feature flag on composite brain selection in first step
  • On third step:
    • Add an explanation line
    • Add a CompositeBrainConnections component

      • Upon arrival:
        Image

      • On click on + button:

      Image

      • On click on a brain:

      Image

      • On delete on brain: remove the brain connection
    • Update sdk (brain crea

@gozineb gozineb converted this from a draft issue Dec 6, 2023
Copy link

dosubot bot commented Dec 6, 2023

🤖

Hello again, @gozineb! Great to see you contributing to Quivr repository once more.

Based on the information available in the Quivr repository, it is indeed possible to create a composite brain using the brain creation module. The process involves managing connections between brains in a composite brain using the CompositeBrainsConnectionsInterface class. This class provides methods for connecting a brain to a composite brain (connect_brain), getting all brains connected to a composite brain (get_connected_brains), disconnecting a brain from a composite brain (disconnect_brain), and checking if a brain is connected to any composite brain (is_connected_brain). You can find more details in the composite_brains_connections_interface.py file.

The exact process of creating a composite brain in Quivr involves several steps, including logging in to the application, accessing the brain management interface, adding a new brain, and filling in the necessary details. This process is represented in the TypeScript code in the createBrain.ts file.

As for the structure of a "brain" in the Quivr codebase, it is defined as a BrainConfig type and contains various properties such as id, model, temperature, maxTokens, keepLocal, backendUrl, openAiKey, anthropicKey, supabaseUrl, supabaseKey, prompt_id, status, brain_type, prompt, name, description, and brain_definition. You can find more details in the brainConfig.ts and defaultBrainConfig.ts files.

I hope this information helps! If you have any more questions or need further clarification, feel free to ask.

Sources


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

@dosubot dosubot bot added the area: backend Related to backend functionality or under the /backend directory label Dec 6, 2023
@dosubot dosubot bot added the area: frontend Related to frontend functionality or under the /frontend directory label Dec 6, 2023
@mamadoudicko mamadoudicko moved this from Sprint Backlog to Todo in Quivr's Roadmap Dec 6, 2023
@mamadoudicko mamadoudicko moved this from Todo to In Progress in Quivr's Roadmap Dec 6, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Quivr's Roadmap Dec 6, 2023
@mamadoudicko mamadoudicko moved this from Done to To Be Validated in Quivr's Roadmap Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend Related to backend functionality or under the /backend directory area: frontend Related to frontend functionality or under the /frontend directory
Projects
None yet
Development

No branches or pull requests

2 participants