-
Notifications
You must be signed in to change notification settings - Fork 9
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
Enhancement/make selector sticky #84
Conversation
refactor: Azure Blob data source - Switch data loader to our custom implementation based on OpenDAL * docs: update AzureBlobs to match refactor * Update `aiohttp` from 3.8.4 -> 3.8.5 * Change document file list to read from local json file (same as web scraper) rather than direct from Azure. Similar to web scraper * refactor: move document list management methods to `SpaceDataSourceFileBased` * add OpendalReader code + lic + copyright * refactor: DocumentListItem * change from `tuple` to a `dataclass` * move to domain.py * chore: remove commented code * test: * unit test DocumentListItem.create_instance * unit test consistency between document list save and load (serialise and de-serialise). * move test PDF doc folder * Various minor fixes: * Always have some text for `page_title` metadata to render a link. Improve default behaviour to use <title> text if no H1. "web page" if no title text. * pass args to DocumentListItem() in the correct order * handle unknown source type in metadata. This should only happen if a breaking change to the type schema is made and data isn't migrated i.e. re-index. * style: fix style and lint errors BREAKING CHANGE: Azure Blob data source config scheme for credentials changes. SAS tokens are no longer supported only Account Key. Any Azure Blob data sources configured with a SAS token will stop working.
can you drop in screenshot of the full window so I can see what it looks like when a user is scrolled half up a long chat history |
@janaka |
@osala-eng ok. Lets still use the |
Okay |
also can you bump llama index to the latest or if lots of breaking changes to something greater than v0.7.13 |
Okay. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@osala-eng left one comment about the function, once that's adjusted this should be good to go providing you have done sufficient testing.
* feat: Make the space selector box stick to the top of the page. * chore: Cleanup files. * chore: Add custom styling for personal ask. * chore: Remove unused imports. * Refactor: azureblob datasource (#79) refactor: Azure Blob data source - Switch data loader to our custom implementation based on OpenDAL * docs: update AzureBlobs to match refactor * Update `aiohttp` from 3.8.4 -> 3.8.5 * Change document file list to read from local json file (same as web scraper) rather than direct from Azure. Similar to web scraper * refactor: move document list management methods to `SpaceDataSourceFileBased` * add OpendalReader code + lic + copyright * refactor: DocumentListItem * change from `tuple` to a `dataclass` * move to domain.py * chore: remove commented code * test: * unit test DocumentListItem.create_instance * unit test consistency between document list save and load (serialise and de-serialise). * move test PDF doc folder * Various minor fixes: * Always have some text for `page_title` metadata to render a link. Improve default behaviour to use <title> text if no H1. "web page" if no title text. * pass args to DocumentListItem() in the correct order * handle unknown source type in metadata. This should only happen if a breaking change to the type schema is made and data isn't migrated i.e. re-index. * style: fix style and lint errors BREAKING CHANGE: Azure Blob data source config scheme for credentials changes. SAS tokens are no longer supported only Account Key. Any Azure Blob data sources configured with a SAS token will stop working. * chore: Add avatar to chat messages * chore: Added script to format avartars. * feat: Make the space selector box stick to the top of the page. * chore: Remove unused imports. * Update user avatar settings. * chore: Attach event listeners to space selector. * chore: Cleanup imports. * chore: Update chat_ui script. * feat: Make the space selector box stick to the top of the page. * chore: Cleanup files. * chore: Use username as email for gravatar requests. * chore: Use identicon as avatar default * chore: Set username in auth session state. * chore: Cleanup imports. * chore: Bump llama-index to 0.8.5.post2 * Update get username function --------- Co-authored-by: Janaka Abeywardhana <[email protected]>
* feat: Make the space selector box stick to the top of the page. * chore: Cleanup files. * chore: Add custom styling for personal ask. * chore: Remove unused imports. * Refactor: azureblob datasource (#79) refactor: Azure Blob data source - Switch data loader to our custom implementation based on OpenDAL * docs: update AzureBlobs to match refactor * Update `aiohttp` from 3.8.4 -> 3.8.5 * Change document file list to read from local json file (same as web scraper) rather than direct from Azure. Similar to web scraper * refactor: move document list management methods to `SpaceDataSourceFileBased` * add OpendalReader code + lic + copyright * refactor: DocumentListItem * change from `tuple` to a `dataclass` * move to domain.py * chore: remove commented code * test: * unit test DocumentListItem.create_instance * unit test consistency between document list save and load (serialise and de-serialise). * move test PDF doc folder * Various minor fixes: * Always have some text for `page_title` metadata to render a link. Improve default behaviour to use <title> text if no H1. "web page" if no title text. * pass args to DocumentListItem() in the correct order * handle unknown source type in metadata. This should only happen if a breaking change to the type schema is made and data isn't migrated i.e. re-index. * style: fix style and lint errors BREAKING CHANGE: Azure Blob data source config scheme for credentials changes. SAS tokens are no longer supported only Account Key. Any Azure Blob data sources configured with a SAS token will stop working. * chore: Add avatar to chat messages * chore: Added script to format avartars. * feat: Make the space selector box stick to the top of the page. * chore: Remove unused imports. * Update user avatar settings. * chore: Attach event listeners to space selector. * chore: Cleanup imports. * chore: Update chat_ui script. * feat: Make the space selector box stick to the top of the page. * chore: Cleanup files. * chore: Use username as email for gravatar requests. * chore: Use identicon as avatar default * chore: Set username in auth session state. * chore: Cleanup imports. * chore: Bump llama-index to 0.8.5.post2 * Update get username function --------- Co-authored-by: Janaka Abeywardhana <[email protected]>
* feat: Make the space selector box stick to the top of the page. * chore: Cleanup files. * chore: Add custom styling for personal ask. * chore: Remove unused imports. * Refactor: azureblob datasource (#79) refactor: Azure Blob data source - Switch data loader to our custom implementation based on OpenDAL * docs: update AzureBlobs to match refactor * Update `aiohttp` from 3.8.4 -> 3.8.5 * Change document file list to read from local json file (same as web scraper) rather than direct from Azure. Similar to web scraper * refactor: move document list management methods to `SpaceDataSourceFileBased` * add OpendalReader code + lic + copyright * refactor: DocumentListItem * change from `tuple` to a `dataclass` * move to domain.py * chore: remove commented code * test: * unit test DocumentListItem.create_instance * unit test consistency between document list save and load (serialise and de-serialise). * move test PDF doc folder * Various minor fixes: * Always have some text for `page_title` metadata to render a link. Improve default behaviour to use <title> text if no H1. "web page" if no title text. * pass args to DocumentListItem() in the correct order * handle unknown source type in metadata. This should only happen if a breaking change to the type schema is made and data isn't migrated i.e. re-index. * style: fix style and lint errors BREAKING CHANGE: Azure Blob data source config scheme for credentials changes. SAS tokens are no longer supported only Account Key. Any Azure Blob data sources configured with a SAS token will stop working. * chore: Add avatar to chat messages * chore: Added script to format avartars. * feat: Make the space selector box stick to the top of the page. * chore: Remove unused imports. * Update user avatar settings. * chore: Attach event listeners to space selector. * chore: Cleanup imports. * chore: Update chat_ui script. * feat: Make the space selector box stick to the top of the page. * chore: Cleanup files. * chore: Use username as email for gravatar requests. * chore: Use identicon as avatar default * chore: Set username in auth session state. * chore: Cleanup imports. * chore: Bump llama-index to 0.8.5.post2 * Update get username function --------- Co-authored-by: Janaka Abeywardhana <[email protected]>
* chore: Re-arrange admin docs layout. * chore: Update admin docs UI layout. * chore: Rename consolidated space to Admin Spaces. * Enhancement/make selector sticky (#84) * feat: Make the space selector box stick to the top of the page. * chore: Add custom styling for personal ask. * chore: Remove unused imports. * chore: Add an avatar to chat messages * chore: Added script to format avatars. * feat: Make the space selector box stick to the top of the page. * chore: Remove unused imports. * Update user avatar settings. * chore: Attach event listeners to space selector. * chore: Cleanup imports. * chore: Update chat_ui script. * feat: Make the space selector box stick to the top of the page. * chore: Use username as email for gravatar requests. * chore: Use identicon as avatar default * chore: Set username in auth session state. * chore: Bump llama-index to 0.8.5.post2 * Update get username function
Description
Please include a summary of the change, e.g. what the new feature # is and/or what bug # it fixes. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes/Implements #(issue/feature)
Added avatar support using
Gravatars
Made space selector in the
Shared Ask
staticCollapsed
Expanded
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration by modifying the list below.
Test Configuration:
Please describe the test setup. List them below as bullet points.
Checklist: