Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When prompt from block, use the properties to pass #9

Merged
merged 1 commit into from
Dec 2, 2023

Conversation

taweili
Copy link
Contributor

@taweili taweili commented Dec 2, 2023

Properties to configure Ollama, e.g. specify the models and turn the model parameters per Ollama generate API.

Add this property to the block and the Prompt from Block will use the model specify here.
ollama-generate-model:: llama2-uncensored:7b-chat-q6_K

Any property prefixed with ollama-generate will be passed to Ollama in a generate API call.

https://github.com/jmorganca/ollama/blob/main/docs/api.md#generate-a-completion

parameters to configure Ollama, e.g. speficy the models
and turn the model parameters per Ollama generate API.
src/ollama.tsx Show resolved Hide resolved
@omagdy7 omagdy7 merged commit 0bd975c into omagdy7:master Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants