Skip to content

Dependencies not being pulled #151

Closed
@DarkIceXD

Description

@DarkIceXD

I can't find a way to upload a pipeline with dependencies.
I created this test pipeline:
test.py:

"""
title: Test pipline
requirements: llama-index-vector-stores-qdrant
"""

from typing import List, Union, Generator, Iterator

class Pipeline:
    def __init__(self):
        pass
    
    def pipe(
        self, user_message: str, model_id: str, messages: List[dict], body: dict
    ) -> Union[str, Generator, Iterator]:
        return "hello world"

Notice the llama-index requirement. I then added the pipeline through the UI and checked the installed modules by doing docker exec pipelines pip list | grep llama-index-vector-stores-qdrant and it would't find it. I am not sure if its an issue with Pipelines or WebUI.

I also can't use PIPELINES_URLS because i would have to upload the pipeline publicly which isn't an option.

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