Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

Update README for session argument#1652

Draft
ticklecatisback wants to merge 2 commits intoreworkd:mainfrom
ticklecatisback:update-readme-session
Draft

Update README for session argument#1652
ticklecatisback wants to merge 2 commits intoreworkd:mainfrom
ticklecatisback:update-readme-session

Conversation

@ticklecatisback
Copy link

Update the code to use the ollama library for various functionalities and add installation instructions.

  • Code Changes:

    • Replace LLMChain and openai imports with ollama in multiple files.
    • Update methods to use ollama.Client for chat and streaming responses.
    • Modify summarize, summarize_with_sources, and summarize_sid functions to use ollama.Client.
  • New File:

    • Add platform/setup.py for setuptools configuration.
  • README Update:

    • Add instructions for installing the package using pip.
    • Provide examples for using the package in code.
    • Include instructions for adding ollama as a dependency and using it in Docker.
    • Update Python version to 3.10 and provide instructions for using it.

Update the code to use the `ollama` library for various functionalities and add installation instructions.

* **Code Changes:**
  - Replace `LLMChain` and `openai` imports with `ollama` in multiple files.
  - Update methods to use `ollama.Client` for chat and streaming responses.
  - Modify `summarize`, `summarize_with_sources`, and `summarize_sid` functions to use `ollama.Client`.

* **New File:**
  - Add `platform/setup.py` for setuptools configuration.

* **README Update:**
  - Add instructions for installing the package using pip.
  - Provide examples for using the package in code.
  - Include instructions for adding `ollama` as a dependency and using it in Docker.
  - Update Python version to 3.10 and provide instructions for using it.
@vercel
Copy link

vercel bot commented Nov 10, 2024

@ticklecatisback is attempting to deploy a commit to the reworkd Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant