Full JSON Config for vs code and ollama
Full JSON Config for vs code and ollama
Setup vs code for RPI 5
Full JSON Config for vs code and ollama
- Code:
#!/bin/bash
#(c) J~Net 2024
# https://jnet.forumotion.com/t2014-full-json-config-for-vs-code-and-ollama#3105
echo "Setting Up VS Code For RPi 5"
sudo apt update
sudo apt install -y wget gpg
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -o root -g root -m 644 packages.microsoft.gpg /usr/share/keyrings/
sudo sh -c 'echo "deb [arch=armhf] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt update
sudo apt install -y code
echo "Finished"
echo ""
echo "Now add extenion"
echo "code --install-extension ms-python.python"
echo "Or look for json conf file and ctrl p"
Full JSON Config for vs code and ollama
- Code:
{
"models": [
{
"title": "Llama 3",
"provider": "ollama",
"model": "llama3"
},
{
"title": "Ollama",
"provider": "ollama",
"model": "AUTODETECT"
},
{
"title": "Codestral",
"provider": "ollama",
"model": "stable-code"
}
],
"customCommands": [
{
"name": "test",
"prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
"description": "Write unit tests for highlighted code"
}
],
"tabAutocompleteModel": {
"title": "Starcoder 3b",
"provider": "ollama",
"model": "starcoder2:3b"
},
"allowAnonymousTelemetry": true,
"embeddingsProvider": {
"provider": "transformers.js"
},
"additionalEmbeddingsProvider": {
"provider": "ollama",
"model": "nomic-embed-text"
}
}
Re: Full JSON Config for vs code and ollama
For github version instead For Linux and RPI5
https://github.com/jamieduk/VS-Code-RPI5-Setup
https://github.com/jamieduk/VS-Code-RPI5-Setup
- Code:
git clone https://github.com/jamieduk/VS-Code-RPI5-Setup.git
Similar topics
» php code website base full of open source code
» AI-ChatBot-Ollama-With-Storage
» Secure Proxychain Config For Kali Linux
» CrewAI Ollama StoryTime AI Python Example
» Ollama Chat Bot With Langchain
» AI-ChatBot-Ollama-With-Storage
» Secure Proxychain Config For Kali Linux
» CrewAI Ollama StoryTime AI Python Example
» Ollama Chat Bot With Langchain
Permissions in this forum:
You cannot reply to topics in this forum
|
|