Ref Studio
Motivation
Foundation model capabilities are rapidly improving and writing support systems are a promising early use case. Because foundation models are better at fluency than factuality, early experiments have focused on creative writing rather than expository, argumentative, or academic writing. Ref Studio will facilitate experimentation with factual writing support systems by providing an open source text editor that integrates foundation models and referenced document contents.
Features
Ref Studio has three main components focused on writing, references, and AI interactions.
Writing
The writing component is supported by a text editor with basic styling with Markdown syntax, Notion-like blocks that can be collapsed, re-arranged, and display associated annotation widgets, such as cited references.
References
References play a crucial role in scientific document writing. Ref Studio offers a built-in feature for managing references. You have the option to upload your PDF references, which will be analyzed and made easily accessible to assist you throughout the writing process. Additionally, Ref Studio provides a dedicated system interface to efficiently manage your references.
AI Interactions
When editing documents you can ask AI assistance to rewrite parts of the text, and get answers using the chat. Additionally you can also ask for text completion in the editor.
First Run & Project Lifecycle
/tmp/web-storage-url/user1/don't existEditor
Settings
References
References: 0References -> Open; shortcutcmd+R; icon in the references pane; and Command Palette "Open References";Referencesmenu; references table button; drag-and-drop PDF files; command paletteuploads[to trigger the references popup with all the ingested references, select one@inside a citation element to trigger the references popup to add an additional reference, page 2) inside the citation. You should have something similar to[@domingos; @sculley, page 2]Referencesmenu; references table button; command paletteAn Introduction to Machine Learning, from M. Kubát, has a valid PDF)Export
references.bibfile with all references in theexportsdirectoryreferences.bibin theexportsdirectory and opens itFilemenu) creates and opens a markdown file in theexportsdirectoryexportsdirectory; the markdown should automatically be openedRewriter
>and<ChatBot
cmd+0Chat with References...Text Completion
Cmd+J. Verify that...are shown followed by the proposed text in light greycmd+J→IDE
cmd+Kcmd+Pand open one of the filescmd+1, ...)Local LLM
llama2, and test the AI featuresExample file content
Originally posted by @cguedes in #560 (comment)