Skip to content

Support for local (self-hosted) LLMs #2

Closed

Description

@danielnbalasoiu

Hi,

The project is very interesting and I love the idea of being able to ask questions about your data.
For more privacy focused people, is it possible to add support for local LLMs? Maybe Ollama support?

Thank you and keep you the great work you're doing! 👏

Activity

  1. MODSetter commented on Aug 23, 2024

    @MODSetter
    Owner

    Hi @danielnbalasoiu
    In case you want to test with Local LLMs You can change the llm in backend code to https://python.langchain.com/v0.2/docs/integrations/providers/ollama/

    It should be 1 liner change.

    I started this project with Local Models but I faced issues with LLMGraphTransformer when using local models.

    I will try to work on local llms..... lets see hopefully in a week or two I start getting good responses 🤞

  2. danielnbalasoiu commented on Aug 25, 2024

    @danielnbalasoiu
    Author

    Hi @MODSetter,

    Thanks for getting back to me.
    When you're saying "change the llm in backend code", how the change should look like?
    Change this to point to Ollama's endpoint?

  3. MODSetter commented on Aug 25, 2024

    @MODSetter
    Owner

    Hi @MODSetter,

    Thanks for getting back to me. When you're saying "change the llm in backend code", how the change should look like? Change this to point to Ollama's endpoint?

    Hi @danielnbalasoiu
    Ignore graph_config & llm_config. These fields doesn't store anything ATM.

    Just go to server.py & change all llm (

    llm = ChatOpenAI(
    )

    from openai to Ollama like https://python.langchain.com/v0.2/docs/integrations/llms/ollama/

  4. danielnbalasoiu commented on Aug 26, 2024

    @danielnbalasoiu
    Author

    I'll try it. Thanks!

  5. MODSetter commented on Sep 20, 2024

    @MODSetter
    Owner

    @danielnbalasoiu
    SurfSense supports local LLM's now 👍

  6. added a commit that references this issue on Jun 1, 2025
  7. added a commit that references this issue on Jul 14, 2025
  8. added a commit that references this issue on Jul 25, 2025
  9. added a commit that references this issue on Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions