-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Brains as Chatflow] #1381
Comments
🤖 Hello, Thank you for your detailed request. Based on the context provided, I understand that you're looking to add a new collection type to the Quivr repository. Here's how you can go about it: To add a new collection type in the Quivr codebase, you need to define a new interface that extends the
Here is an example of how you can add a new collection type: export interface NewCollectionType extends Schema.CollectionType {
collectionName: 'new_collection';
info: {
singularName: 'new-collection';
pluralName: 'new-collections';
displayName: 'New Collection';
};
options: {
draftAndPublish: true;
};
attributes: {
attribute1: Attribute.String &
Attribute.Required;
attribute2: Attribute.Number;
// Add more attributes as needed...
};
} This code defines a new collection type named In the context shared, the You can refer to the following files for more context:
I hope this helps! If you have any more questions or need further clarification, feel free to ask. Best, 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. |
Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion. |
Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion. |
Why do we need this functionality?
X
What are we developing?
X
What are the validation criteria to validate this feature?
X
What's out of scope for this feature?
X
Should this feature be feature flagged?
How are we going to code this feature?
X
Are there any technical decisions made that should be shared?
X
What is preventing us from delivering this feature?
X
What can the feature potentially break?
X
The text was updated successfully, but these errors were encountered: