4 ms·
Has anybody found a good way to utilize ollama with an editor such as zed to do things like "generate rustdoc to this method" etc. I use ollama daily for a ton
by pimeys 2y ago
Has anybody found a good way to utilize ollama with an editor such as zed to do things like "generate rustdoc to this method" etc. I use ollama daily for a ton of things, but for code generation, completion and documentation 4o is still much better than any of the local models...
- navbaker 2y agoThe Continue extension for VSCode is pretty good and has native connectivity to a local install of Ollama
- pimeys 2y agoZed has also support for ollama, but all the local models I tried do not really work so well to things like "write docs for this method"... Also local editor autocomplete in the style of github copilot would be great, without needing to use proprietary Microsoft tooling...
- vunderba 2y agoThere's a lot of plugins/IDEs for assistant style LLMs, but the only TAB style autocompletion ones I know of are either proprietary (Github Copilot), or you need to get an API key (Codestral). If anyone knows of a local autocomplete model I'd love to hear about it. The Continue extension (Jetbrains, VSCodium) lets you set up assistant and autocompletion independently with different API keys.
- antifa 2y agohttps://tabby.tabbyml.com/ https://tabby.tabbyml.com/ https://sourcegraph.com/cody https://sourcegraph.com/cody
- statenjason 2y agoI use gen.nvim[1] with for small tasks, like “write a type definition for this JSON” . Running locally avoids the concern of sending IP or PII to third parties. [1]: https://github.com/David-Kunz/gen.nvim https://github.com/David-Kunz/gen.nvim
- oneshtein 2y agoGemma2 27b instruct: Generate documentation in Rust format for use in code. /// An enum representing possible errors during CRUD operations. #[derive(Error, Debug)] enum CrudError { /// Indicates an error occurred while interacting with the SQLite database. /// /// This variant wraps a `rusqlite::Error`, providing details about the specific SQLite error. #[error("SQLite error: {0}")] SqliteError(rusqlite::Error), /// Indicates an error related to input/output operations. /// /// This variant wraps a `std::io::Error`, giving information about the specific IO problem encountered. #[error("IO error: {0}")] IoError(std::io::Error), }