Earlier quoted context omitted.
It's much easier to do RAG than try to shoehorn the entirety of the universe into 7B parameters every 24 hours. Mistral's great at being coherent and processing info at 7B, but you wouldn't want it as an oracle.
I didn't know about RAG, thanks for sharing. I am not sure, if outdated information can be tackled with RAG though, especially in coding. Just today, i asked GPT and Bard(Gemini) to write code using slint, neither of them had any idea of slint. Slint being a relatively new library, like two and a half (0.1 version) to one and a half (0.2 version) years back [1] is not something they trained on. Natural language doesn…
use slint::slint;
slint! { DialogBox := Window { width: 400px; height: 200px; title: "Input Dialog";
VerticalBox {
padding: 20px;
spacing: 10px;
TextInput {
id: input_field;
placeholder_text: "Enter text here";
}
Button {
text: "Submit";
clicked => {
// Handle the button click event
println!("Input: {}", input_field.text());
}
}
}
}
}fn main() { DialogBox::new().run(); }