mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
[PR #64] [CLOSED] Add iterative_chat and examples for simlified chat history keeping #349
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ollama/ollama-python/pull/64
Author: @connor-makowski
Created: 2/13/2024
Status: ❌ Closed
Base:
main← Head:chat-history📝 Commits (2)
a744b22Add historic_chat and examples for simlified chat history keeping. Great for interactive or sustained kernels.b84b8fbMinor cleanup for docs and change name from history chat to more appropriate iterative chat.📊 Changes
5 files changed (+147 additions, -1 deletions)
View changed files
📝
README.md(+36 -0)➕
examples/chat-iterative/main.py(+15 -0)➕
examples/chat-stream-iterative/main.py(+18 -0)📝
ollama/__init__.py(+1 -0)📝
ollama/_client.py(+77 -1)📄 Description
This is great for interactive or sustained kernels.
Addresses: https://github.com/ollama/ollama-python/issues/63
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.