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

Update README for session argument #1652

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

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.
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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant