Closed fiskus closed 2 months ago
Attention: Patch coverage is 20.83333%
with 209 lines
in your changes missing coverage. Please review.
Project coverage is 37.21%. Comparing base (
15fcd5a
) to head (f0708eb
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
simplescreenrecorder-2024-05-30_19.12.19.webm
New section on the File page that utilizes
Bedrock#invokeModel
with pre-filled first prompt a la "summarize content of this file." Users can then ask additional questions, with the entire history, except the first prompt, visible to them.The component uses lazy loading, becoming available only after the JavaScript, content and Bedrock response are fully loaded. I use content indexed by ElasticSearch as a content, so we can work with binary data
To facilitate testing, I refactored the Bedrock hook into multiple files: the hook in one file, Message and History in other files accompanied by
.spec.ts
files.Recommended starting points for reading code:
Bucket/File.tsx
,PackageTree.tsx
.