Commit Graph

231 Commits

Author SHA1 Message Date
dependabot[bot]
14d7f8c1b7
Merge pull request #172 from ollama/dependabot/pip/ruff-0.4.7 2024-06-05 18:10:23 +00:00
dependabot[bot]
b45848a9cf
Bump pytest from 8.2.0 to 8.2.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.0 to 8.2.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.2.0...8.2.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-04 22:21:10 +00:00
dependabot[bot]
4fb909db7b
Bump ruff from 0.4.3 to 0.4.7
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.3 to 0.4.7.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.4.3...v0.4.7)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-31 22:22:27 +00:00
dependabot[bot]
0824044330
---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 22:48:40 +00:00
tillfalko
0f8c20a596 Avoid side effects if chat message contains images 2024-05-18 16:48:53 +02:00
Michael Yang
cb81f522b0
Merge pull request #154 from ollama/done-reason
add done reason to generate type responses
2024-05-10 14:22:03 -07:00
Michael Yang
5dc857ea66
Merge pull request #150 from ollama/mxyng/quantization
add quantization to create requests
2024-05-10 14:11:38 -07:00
Michael Yang
309007da80 add quantization to create requests 2024-05-10 14:10:37 -07:00
Michael Yang
3b69774f22
Merge pull request #152 from ollama/mxyng/rm-options
remove old options
2024-05-10 14:09:46 -07:00
Bruce MacDonald
eaab4778c7 add done reason to generate type responses 2024-05-09 16:47:56 -07:00
Michael Yang
96214c0ffe remove old options 2024-05-09 09:19:35 -07:00
Michael Yang
00eafed0fa
Merge pull request #135 from veinkr/main
Update README.md link still point legacy url
2024-05-08 13:13:15 -07:00
Michael Yang
a8cb34e0ec
Merge pull request #138 from TitanStar73/patch-1
Update README.md
2024-05-08 13:13:06 -07:00
dependabot[bot]
2b66adebef
Merge pull request #140 from ollama/dependabot/pip/pytest-8.2.0 2024-05-08 20:10:43 +00:00
Michael Yang
cc1fca067b
Merge pull request #145 from jingfelix/fix/async-client-embed-annotation
fix: annotation in AsyncClient.embedding
2024-05-08 13:10:28 -07:00
dependabot[bot]
8b91188f66
Merge pull request #148 from ollama/dependabot/pip/ruff-0.4.3 2024-05-08 20:08:56 +00:00
Michael Yang
85f526353a
Merge pull request #45 from adriens/patch-1
doc(README) : add prerequisites
2024-05-08 13:08:37 -07:00
dependabot[bot]
5cf83dcda8
Bump ruff from 0.4.1 to 0.4.3
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.1 to 0.4.3.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.4.1...v0.4.3)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 22:56:17 +00:00
jingfelix
2ac751fb79 fix: annotation in AsyncClient.embedding
Signed-off-by: jingfelix <jingfelix@outlook.com>
2024-05-03 16:29:03 +08:00
Dave Pearson
c4931b202d
Ensure that py.typed gets packaged and distributed 2024-04-30 18:19:08 +01:00
dependabot[bot]
30f762ae77
Bump pytest from 8.1.1 to 8.2.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 8.2.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.1.1...8.2.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 22:54:49 +00:00
TitanStar73
e5c4799650
Update README.md
Changing all demo code to use llama3 instead of llama2
2024-04-28 18:51:00 +05:30
Demon Finch
fed2b2ee02
Update README.md link still point legacy url 2024-04-27 13:07:34 +08:00
dependabot[bot]
e403d748a3
Merge pull request #110 from ollama/dependabot/pip/pillow-10.3.0 2024-04-25 18:07:11 +00:00
Dave Pearson
30090c5508
Add py.typed to mark the library as typed
Removes an error like this:

    error: Skipping analyzing "ollama":
    module is installed, but missing library stubs or py.typed marker  [import-untyped]

when running mypy over code that uses the library.
2024-04-25 10:51:30 +01:00
dependabot[bot]
e1b0600088
Bump pillow from 10.2.0 to 10.3.0
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-25 00:14:28 +00:00
dependabot[bot]
029b080c4c
Merge pull request #124 from ollama/dependabot/pip/ruff-0.4.1 2024-04-25 00:13:33 +00:00
Michael Yang
5b94a8d872
Merge pull request #118 from DSLstandard/fix-content-check
fix 'content' check on messages in chat()
2024-04-24 17:12:41 -07:00
Michael Yang
d38fe129c3
Merge pull request #114 from N-Vlahovic/n-vlahovic/20240405-annotation-fix
modified embeddings return annotation
2024-04-24 17:11:22 -07:00
dependabot[bot]
426b30e9ed
Bump ruff from 0.3.4 to 0.4.1
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.4 to 0.4.1.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.3.4...v0.4.1)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 22:30:57 +00:00
DSLstandard
dc9543ba5f
fix 'content' check on messages in chat() 2024-04-15 20:39:49 +08:00
Niko
42f9f70bae modified embeddings return annotation 2024-04-05 11:56:16 +02:00
Jeffrey Morgan
2fde317490
Update README.md 2024-04-04 18:25:24 -07:00
dependabot[bot]
7201dcbbd3
Merge pull request #107 from ollama/dependabot/pip/pytest-8.1.1 2024-03-28 16:14:51 +00:00
dependabot[bot]
dfa5b12061
Bump pytest from 7.4.4 to 8.1.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.4 to 8.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.4...8.1.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-28 00:20:49 +00:00
dependabot[bot]
f5a8ec3272
Merge pull request #106 from ollama/dependabot/pip/ruff-0.3.4 2024-03-28 00:19:36 +00:00
dependabot[bot]
3c9ba8cf2e
Bump ruff from 0.1.15 to 0.3.4
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.15 to 0.3.4.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.15...v0.3.4)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 18:02:04 +00:00
dependabot[bot]
768c559094
Merge pull request #105 from ollama/dependabot/pip/pytest-cov-5.0.0 2024-03-27 18:00:56 +00:00
dependabot[bot]
44126e5a37
Merge pull request #104 from ollama/dependabot/github_actions/actions/upload-artifact-4 2024-03-27 18:00:10 +00:00
dependabot[bot]
841595aed1
Bump pytest-cov from 4.1.0 to 5.0.0
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.1.0 to 5.0.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.1.0...v5.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 17:59:53 +00:00
dependabot[bot]
281e149001
Bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 17:59:04 +00:00
Michael Yang
9c4a87c90b
Merge pull request #103 from ollama/dependabot
add dependabot
2024-03-27 18:58:12 +01:00
Michael Yang
adcae4ce25 add dependabot 2024-03-27 10:53:32 -07:00
Michael Yang
6b351e54cf
Merge pull request #102 from ollama/deps
update dependencies
2024-03-27 18:37:41 +01:00
Michael Yang
4896b53755 update dependencies 2024-03-27 09:57:40 -07:00
SALES
e28f43f892
Update README.md
cf https://github.com/ollama/ollama-python/pull/45#issuecomment-1942447161
2024-02-16 07:02:48 +11:00
Michael Yang
fcdf5771f5
Merge pull request #58 from ollama/mxyng/python-user-agent
python user agent
2024-02-09 15:32:48 -08:00
Michael Yang
ec8bf88c2b add content-type and accept
mirrors header values set by ollama cli
2024-02-08 11:59:43 -08:00
Michael Yang
8b929ab496 python user agent
add a user agent to ollama-python requests
2024-02-08 11:17:06 -08:00
Michael Yang
eee32dda37
Merge pull request #52 from ollama/mxyng/create-example
create example
2024-02-02 12:20:50 -08:00