Extract text from PowerPoint, Word, and Excel files
Transform office documents into searchable, analyzable text data.
Break PDFs and documents into searchable chunks for retrieval-augmented generation (RAG) pipelines.
Text · Notebook · Updated
Colab runs it in your browser. If it calls a model provider, it asks for that provider's API key in a cell.
You create a view with a document_splitter iterator that automatically breaks documents into chunks. Then you add an embedding index for semantic search.
pip install pixeltable sentence-transformers spacy tiktoken
document.document_splitter()pxt.create_table()pxt.create_view()insert()add_embedding_index()similarity()# Add embedding index for semantic searchchunks.add_embedding_index(column='text',string_embed=sentence_transformer.using(model_id='all-MiniLM-L6-v2'),)
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Transform office documents into searchable, analyzable text data.
Generate concise summaries of long text, articles, or documents using large language models.
Automatically translate content into multiple languages using LLMs.
Identify and extract people, organizations, locations, dates, and other entities from text using LLMs.