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

[Feature Request]: Deepseek offline Support #849

Open
frederik-uni opened this issue Feb 15, 2025 · 1 comment
Open

[Feature Request]: Deepseek offline Support #849

frederik-uni opened this issue Feb 15, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@frederik-uni
Copy link
Contributor

What would your feature do?

I googled it and found https://ollama.com/

The functions seem quite similar to the openapi api so it should be quite easy to impl

import ollama

response = ollama.chat(
    model='deepseek-r1:1.5b',
    messages=[
        {'role': 'user', 'content': ' what is the probability of pulling 4 ace of spades from a deck of cards?'}
    ]
)

# Print the response
print(response['message']['content'])
@frederik-uni frederik-uni added the enhancement New feature or request label Feb 15, 2025
@popcion
Copy link
Contributor

popcion commented Feb 28, 2025

#782
Does this help?
I think you can just add model

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants