Skip to content

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