Skip to content

Can Pathway llm-app be used for open source LLM without OpenAI embedding API? #57

Closed

Description

@bennylam

I have installed several quantized open source LLM (e.g. LLaMA.cpp, ChatGLM2-6B-int4 ..etc) for private Chatbot apps and I want to use some locally installed embedding model (e.g. SentenceTransformers) instead of OpenAI embedding API.
My question is:
Can Pathway llm-app be used for open source LLM without OpenAI embedding API?
Any example or tutorials on how to do that?

Thanks
Benny

Activity

  1. janchorowski commented on Aug 23, 2023

    @janchorowski
    Member

    Yes, it can be used without OpenAI models, both the embedder and the LLM are customizable. For start chek out this example which uses local models: https://github.com/pathwaycom/llm-app/blob/main/examples/pipelines/local/app.py

  2. dxtrous commented on Aug 23, 2023

    @dxtrous
    Member

    @bennylam Just to make sure if the embedder model interface, linked by @janchorowski above, is what you were looking to use?
    If you prefer to rely on a different embedding library than sentence-transformers, happy to see what can be done.

  3. locked and limited conversation to collaborators on Aug 24, 2023
  4. converted this issue into a discussion #59 on Aug 24, 2023
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions