aboutsummaryrefslogtreecommitdiff
path: root/src/ollama.tsx
AgeCommit message (Collapse)AuthorFilesLines
2025-02-02Better support for reasoning models, subdivision of tasks supports nesting ↵jaibuu1-19/+98
and ignores empty lines, typo fix
2024-11-01Merge branch 'master' of github.com:omagdy7/ollama-logseqomagdy1-1/+1
2024-11-01Fixed small typo in `defintion`omagdy1-1/+1
2024-05-10Improve prompt for card generationRoman Inflianskas1-1/+1
Previously, generated cards with llama3 model were broken, because llama3 was too chatty and provided front and back sides when asked for a question. Update the prompt to make generation correct.
2024-02-27fix: fixed a bug where custom prompts on block doesn't take into context all ↵omagdy71-7/+10
children of the block
2024-02-22Added the ability to Ask in context of the block only instead of the whole pageomagdy71-7/+18
2024-02-10Move the custom prompt trigger on the block commandgixita1-17/+0
2024-02-08feat: Add custom prompt functionality to blockgixita1-0/+20
This commit introduces the capability for users to apply custom prompts defined in the configuration to a block. Key changes include: - A new configuration string to store the custom prompt. - A menu item 'Custom prompt on block'. - Implementation of a function to apply the custom prompt to a block, mirroring the existing 'summarize block' functionality.
2023-12-12Added some polish touches before v1.0.9omagdy71-9/+6
2023-12-04Abstract out the prompt and block event functionsDavid Li1-45/+35
into a closure so it can be use to create new menu events with different prompt prefix.
2023-12-04Use the ollama properties from the parent blockDavid Li1-4/+15
2023-12-03Merge branch 'master' into ollama-contextDavid Li1-10/+4
2023-12-02Unified error messagesomagdy71-13/+6
2023-12-02Testing out ideas with contextDavid Li1-5/+8
2023-12-02When prompt from block, use the properties to passDavid Li1-2/+62
parameters to configure Ollama, e.g. speficy the models and turn the model parameters per Ollama generate API.
2023-11-29Added some refinments and quality of life changesomagdy71-7/+7
2023-11-29Expanding the content of the block with AIDavid Li1-4/+15
2023-11-29Add Prompt from Block Context Menu Command and putDavid Li1-0/+13
the Ollama response in the subblock.
2023-11-23Applying DRY principle and removing duplicate codeomagdy71-50/+28
2023-11-23Removing unecessary null checks and replacing them with !. in typescriptomagdy71-40/+18
2023-11-23Retain prompt with responseomagdy71-18/+20
2023-11-23Added a little delay between generating the flashcard question and flashcard ↵omagdy71-2/+1
answer
2023-11-23Enhanced flashcard genertationomagdy71-28/+33
2023-11-23Adding a "Summarize Block" commandDavid Li1-0/+18
2023-11-08Fixed some typosomagdy71-3/+3
2023-11-06Removed no-cors modeomagdy71-1/+0
2023-11-06Disabled corsomagdy71-0/+1
2023-11-05Added all the main features of the plugin and also added setting and made ↵omagdy71-56/+195
the plugin respect themeing
2023-11-03Moved to react instead of vanilla js and added the basic skeleton of the plginomagdy71-0/+116