Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 3.8k
feat(home): add folders to resource menu#4000
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
6a86b9fbb1eda3b965bec647105709e4a7b1d702ebab89b7eFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -87,6 +87,8 @@ export function mapResourceToContext(resource: MothershipResource): ChatContext | ||
| return { kind: 'table', tableId: resource.id, label: resource.title } | ||
| case 'file': | ||
| return { kind: 'file', fileId: resource.id, label: resource.title } | ||
| case 'folder': | ||
| return { kind: 'folder', folderId: resource.id, label: resource.title } | ||
waleedlatif1 marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. waleedlatif1 marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| default: | ||
| return { kind: 'docs', label: resource.title } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -266,6 +266,7 @@ export interface ChatMessageContext { | ||
| knowledgeId?: string | ||
| tableId?: string | ||
| fileId?: string | ||
| folderId?: string | ||
waleedlatif1 marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| } | ||
| export interface ChatMessage { | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.