Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-11-07 | trying to add a new create any doc tool | A.J. Shulman | |
2024-11-06 | Enhance assistant security with structured validation and input sanitization | A.J. Shulman | |
- Prompt enhancements: - Enforce strict response structure validation by requiring <stage>, <thought>, <action>, and <answer> tags in responses. - Add self-validation instruction in <final_instruction> for assistant to check response structure before outputting. - Instruct assistant to ignore XML-like syntax from user input, treating any <stage>, <action>, etc., as plain text. - Code changes: - Implement `validateAssistantResponse` function to enforce required response structure (e.g., ensuring <stage> element). - Add input sanitization using `lodash.escape` to treat user inputs as plain text, preventing XML or HTML injection. - Configure XML parser to ignore external entities and avoid interpreting embedded XML-like syntax. - Introduce fallback error handling in parsing and validation to prevent assistant crashes on malformed or unexpected input. - Log response errors with detailed messages to aid debugging and improve system resilience. - Enhance input validation for tools by adding parameter checks, handling malformed data gracefully, and logging safety errors. | |||
2024-11-04 | fixing chunking and doc names | A.J. Shulman | |
2024-10-30 | much better RAG with image retrieval fixed significantly and much faster ↵ | A.J. Shulman | |
(only saving images in one place and remembering where they are saved) | |||
2024-10-30 | before changing the get result endpoint | A.J. Shulman | |
2024-10-22 | fixed websearch tool endpoint so it only returns displayable results in ↵ | A.J. Shulman | |
Dash; also fixed type checking but needs to be improved | |||
2024-10-20 | changed to generic addLinkedDoc | A.J. Shulman | |
2024-10-17 | Merge branch 'ajs-before-executable' of ↵ | A.J. Shulman | |
https://github.com/brown-dash/Dash-Web into ajs-before-executable | |||
2024-10-17 | added create text doc tool with font color and background color and fixed no ↵ | A.J. Shulman | |
tool | |||
2024-10-17 | fixed quizMode to actually render and to get pointer events. | bobzel | |
2024-10-17 | bad octal char in regexp | bobzel | |
2024-10-17 | from last | bobzel | |
2024-10-17 | lint cleanup for awaits in loops | bobzel | |
2024-10-17 | Merge branch 'master' into ajs-before-executable | bobzel | |
2024-10-17 | made Card and Carousel part of novice mode views. | bobzel | |
2024-10-17 | fixed drag/drop of faces from one face to another. | bobzel | |
2024-10-17 | Removed awaits inside loops and made Parameters readonly for better type safety | A.J. Shulman | |
2024-10-17 | Implemented strict typechecking for tools, specifically tool inputs | A.J. Shulman | |
2024-10-17 | fixed script compile error | bobzel | |
2024-10-16 | from last | bobzel | |
2024-10-16 | fixed size of flashcard ui (and other buttons) when fitWidth is set and when ↵ | bobzel | |
Doc is resized small and zoomed out. | |||
2024-10-16 | major fixes to cardDeck view to simplify code and to make arch follow a true ↵ | bobzel | |
circle arc and to fix doc sizing when fitwidth/lightbox/etc. fixes to flashcard UI for advancing to next Doc in cardView and carousel3D. | |||
2024-10-15 | tried something for typechecking but way too overcomplicated | A.J. Shulman | |
2024-10-14 | reorganized comparisonBox related components -- moved stuff down into ↵ | bobzel | |
Docs.Crete and CurrentUserUtils. changed Doc.Copy to copy Doc's in fields tagged with cloneOnCopy. Changed ComparisonBox to support hover for slide or flip views. Fixed pointerEfvents for hover in comparisonBox | |||
2024-10-13 | fixes to scripting to generate errors to allow schema view to enter strings ↵ | geireann | |
that conflict with function names. | |||
2024-10-12 | made tagsView fit Doc width. | bobzel | |
2024-10-12 | disabled lightbox showing docCreatorMenu | bobzel | |
2024-10-11 | Lots of cleanup in comparisonBox to get rid of duplicated code and siimplify ↵ | bobzel | |
long functions. Utility functions were added to ComparisonBox to simplify menu functions, and to FormattedTextBox to simplify creating centered text views. | |||
2024-10-11 | fixed verticalalign of text boxes on load when existing text was there. ↵ | bobzel | |
fixe scrolling of vertical align textboxes when fitwidth is set. added flashcard contextmenu to comparisonbox and | |||
2024-10-11 | fix for vertically centered textbox that overflows to switch to top so that ↵ | bobzel | |
scrolling works. | |||
2024-10-11 | added some commenting and code tweaks to ComparisonBox | bobzel | |
2024-10-11 | fixes for quiz mode - comparisonbox renderSide fixes. scrolling doesn't ↵ | bobzel | |
propagate out of carousel or card views. fix for text with image Doc - now gets saved to UPDATE_CACHE working set. | |||
2024-10-11 | cleaned up comparisonBox a bit - fixed text doc placeholder text and fixed ↵ | bobzel | |
parsing keyword/question/answer from flashcard creator. also fixed text boxes within in comparisonBox | |||
2024-10-11 | quiz changes | alyssaf16 | |
2024-10-10 | fixed being able to use text menu on text in comparison box. Allow ↵ | bobzel | |
TextDocuments to be created with a RichText field. Changed comparisonBox to horizontally center flashcard text. | |||
2024-10-10 | fixed contextMenu for menus with only a default item | bobzel | |
2024-10-10 | Merge branch 'master' into alyssa-starter | bobzel | |
2024-10-10 | minor lint fixes. | bobzel | |
2024-10-10 | Merge branch 'nathan-starter' of https://github.com/brown-dash/Dash-Web into ↵ | Nathan-SR | |
nathan-starter | |||
2024-10-10 | schema cell editing div height 100% | Nathan-SR | |
2024-10-10 | merged with master | bobzel | |
2024-10-10 | Merge branch 'master' into nathan-starter | bobzel | |
2024-10-10 | adjusted hiding chrome for carousel. cleaned up some comparisonBox quiz ↵ | bobzel | |
code. removed create flashcard pile button from flashcard - would prefer carousel being added to marquee menu. | |||
2024-10-10 | adjusted placement of flaschard practice buttons to be closer to the bottom. ↵ | bobzel | |
Fixed being able to enter quiz mode for flaschards created as part of a stack by fixing embedContainer setting. | |||
2024-10-10 | change the default flashcard to have a thin border and have text fill the ↵ | bobzel | |
card and be vertically and horizontally centered. | |||
2024-10-10 | fix for placement of flashcardUI buttons when zoomed out | bobzel | |
2024-10-10 | added new file header comments and fixed some error handling | A.J. Shulman | |
2024-10-10 | tweaks to cardDeck view so that cards are activated when clicked, but not ↵ | bobzel | |
selected. This is consistent with carousel behavior and allows flashcards to behave the same way. Also added advance to nexst card for card view | |||
2024-10-10 | only show flip comparison icon if revealOp isn't hover | bobzel | |
2024-10-09 | changed flashcard revealOp to be set on collection, not individual flashcards | bobzel | |