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

build(deps): bump github.com/ollama/ollama from 0.2.7 to 0.3.1 #469

Merged
merged 2 commits into from
Aug 2, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 30, 2024

Bumps github.com/ollama/ollama from 0.2.7 to 0.3.1.

Release notes

Sourced from github.com/ollama/ollama's releases.

v0.3.1

What's Changed

  • Added support for min_p sampling option
  • Lowered number of requests required when downloading models with ollama pull
  • ollama create will now autodetect required stop parameters when importing certain models
  • Ollama on Windows will now show better error messages if required files are missing
  • Fixed issue where /save would cause parameters to be saved incorrectly.
  • OpenAI-compatible API will now return a finish_reason of tool_calls if a tool call occured.
  • Ollama's Linux install script will now return a better error on unsupported CUDA versions

New Contributors

Full Changelog: ollama/ollama@v0.3.0...v0.3.1

v0.3.0

an image of ollama selecting the right tool for the job, holding up a hammer to nail wooden boards - please support ollama! Let open source win

Tool support

Ollama now supports tool calling with popular models such as Llama 3.1. This enables a model to answer a given prompt using tool(s) it knows about, making it possible for models to perform more complex tasks or interact with the outside world.

Example tools include:

  • Functions and APIs
  • Web browsing
  • Code interpreter
  • much more!
352317275-aea4d7c1-f1be-41fd-9077-023d37a9d052.mov

To use tools, provide the tools field when using Ollama's Chat API:

import ollama
response = ollama.chat(
model='llama3.1',
messages=[{'role': 'user', 'content': 'What is the weather in Toronto?'}],
# provide a weather checking tool to the model
tools=[{
  'type': 'function',
  'function': {
    'name': 'get_current_weather',
    'description': 'Get the current weather for a city',
    'parameters': {
      'type': 'object',
      'properties': {

</tr></table>

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/ollama/ollama](https://github.com/ollama/ollama) from 0.2.7 to 0.3.1.
- [Release notes](https://github.com/ollama/ollama/releases)
- [Commits](ollama/ollama@v0.2.7...v0.3.1)

---
updated-dependencies:
- dependency-name: github.com/ollama/ollama
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 30, 2024
@dependabot dependabot bot requested a review from a team July 30, 2024 17:46
@jdutchak jdutchak enabled auto-merge (squash) August 2, 2024 22:34
@jdutchak jdutchak merged commit 56af69c into test Aug 2, 2024
8 checks passed
@jdutchak jdutchak deleted the dependabot/go_modules/github.com/ollama/ollama-0.3.1 branch August 2, 2024 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant