Find answers from the community

Updated 2 months ago

How to turn off stdouts when I call

How to turn off stdouts when I call run function in IngestionPipeline?

Plain Text
    pipeline = IngestionPipeline(
        transformations=[
            TokenTextSplitter(chunk_size=1024, chunk_overlap=300),
            OpenAIEmbedding()
        ],
        vector_store=vector_store
    )

    pipeline.run(documents=documents)
Attachment
image.png
L
p
4 comments
hmmm did a print() sneak into the codebase?
@Logan M looks so, because I don't have any prints in my code
there it is. Thanks!
Add a reply
Sign up and join the conversation on Discord