NotesOllama๋ก Mac ๋ฉ๋ชจ์ฅ์์ ์๋ ํ๊ธ ๋ฒ์ญ์ ์ฌ์ฉํด๋ณด์!
NotesOllama๋ ๋ฉ๋ชจ์ฅ์์ OpenLLM ๊ตฌ๋ํ ์ ์๊ฒ ํด์ฃผ๋ Application์ด๋ค.
Obsidia Ollama์์ ์๊ฐ์ ๋ฐ์ ๋ง๋ค์๋ค๊ณ ํ๋ค. Good~
์ฌ์ฉ ์๊ตฌ์ฌํญ์ Ollama๊ฐ ๊ตฌ๋ ๋์ด์ผํ๋ค. ๊ฐ์ค ์ ์ธ~ ํ๊ณ ๋ฐ๋ก Go~
1) Ollama ์ค์น
2) NotesOllama ์ค์น
https://smallest.app/notesollama/
Ollama์์ ์ง์ํ๋ Meta์ ์คํ LLM LLama2๋ฅผ ์ฌ์ฉํด Github Pull Request ์์๋ฅผ ์์ฑํ๊ฒ ํด๋ณด์๋ค.
์ฌ๊ธฐ ๊น์ง๋ง ํด๋ ์์ฝ, ํด๋ต, ์ ๋ฆฌ ๋ฑ ๋ค์ํ ๊ธฐ๋ฅ์ด ์์ง๋ง Custom์ด ๊ฐ๋ฅํ๋ค.
3) Github ํ์ผ ์ค์น (Mac Xcodes ํ์ ์ฌ์ฉ)
git clone https://github.com/andersrex/notesollama
https://github.com/andersrex/notesollama
4) /notesOllama/NotesOllama ํด๋์ commands.json ์์
{
"commands": [
{
"name": "Translate selection",
"prompt": "Act as a Korean Translator. Translate into Korean. Output only the text and nothing else, do not chat, no preamble, get to the point."
},
{
"name": "Summarize selection",
"prompt": "Act as a writer. Summarize the text in a few sentences highlighting the key takeaways. Output only the text and nothing else, do not chat, no preamble, get to the point."
},
{
"name": "Explain selection",
"prompt": "Act as a writer. Explain the text in simple and concise terms keeping the same meaning. Output only the text and nothing else, do not chat, no preamble, get to the point."
},
{
"name": "Expand selection",
"prompt": "Act as a writer. Expand the text by adding more details while keeping the same meaning. Output only the text and nothing else, do not chat, no preamble, get to the point."
},
{
"name": "Answer selection",
"prompt": "Act as a writer. Answer the question in the text in simple and concise terms. Output only the text and nothing else, do not chat, no preamble, get to the point."
},
{
"name": "Rewrite selection (formal)",
"prompt": "Act as a writer. Rewrite the text in a more formal style while keeping the same meaning. Output only the text and nothing else, do not chat, no preamble, get to the point."
},
{
"name": "Rewrite selection (casual)",
"prompt": "Act as a writer. Rewrite the text in a more casual style while keeping the same meaning. Output only the text and nothing else, do not chat, no preamble, get to the point."
},
{
"name": "Rewrite selection (active voice)",
"prompt": "Act as a writer. Rewrite the text with an active voice while keeping the same meaning. Output only the text and nothing else, do not chat, no preamble, get to the point."
},
{
"name": "Rewrite selection (bullet points)",
"prompt": "Act as a writer. Rewrite the text into bullet points while keeping the same meaning. Output only the text and nothing else, do not chat, no preamble, get to the point."
},
{
"name": "Caption selection",
"prompt": "Act as a writer. Create only one single heading for the whole text that gives a good understanding of what the reader can expect. Output only the caption and nothing else, do not chat, no preamble, get to the point. Your format should be ## Caption."
}
]
}
5) NotesOllama Build
/notesOllama/NotesOllama/NotesOllama.xcodeproj ํ๋ก์ ํธ ๋น๋
https://github.com/seohyunjun/notesollama
๊ฒฐ๊ณผ
์์ฃผ ์ ์๋ํ๋ ๊ฒ์ ๋ณผ ์ ์๋ค. Prompt๋ฅผ ์ ํ์ฉํ๋ค๋ฉด ๋ฃจํด์ ๋ณด๋ค ๋น ๋ฅด๊ฒ ์ํํ ์ ์๋ค.
https://github.com/seohyunjun/notesollama/releases/tag/v0.2.3-ko
'๐ ๏ธ Tools' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Github] Github PR(pull request) template ๋ง๋ค์ด ์ฃผ๋ ์ฌ์ดํธ (0) | 2024.03.05 |
---|---|
[Gemini] github action์์ gemini api ์ฌ์ฉ์ _CLOUD_SDK_MISSING_CREDENTIALS Auth Error (0) | 2024.03.03 |
[Gemini-pro] ๊ตฌ๊ธ ์ผ๋ฏธ๋ Pro, beta ๋ฌด๋ฃ (0) | 2024.02.09 |
[Candle] huggingface Candle (0) | 2024.01.24 |
[Github Copilot] Prompt crafting (0) | 2023.12.02 |