๐๏ธ AI21SemanticTextSplitter
This example goes over how to use AI21SemanticTextSplitter in LangChain.
๐๏ธ Beautiful Soup
Beautiful Soup is a Python package for parsing
๐๏ธ Cross Encoder Reranker
This notebook shows how to implement reranker in a retriever with your own cross encoder from Hugging Face cross encoder models or Hugging Face models that implements cross encoder function (example: BAAI/bge-reranker-base). SagemakerEndpointCrossEncoder enables you to use these HuggingFace models loaded on Sagemaker.
๐๏ธ Doctran: extract properties
We can extract useful features of documents using the Doctran library, which uses OpenAI's function calling feature to extract specific metadata.
๐๏ธ Doctran: interrogate documents
Documents used in a vector store knowledge base are typically stored in a narrative or conversational format. However, most user queries are in question format. If we convert documents into Q&A format before vectorizing them, we can increase the likelihood of retrieving relevant documents, and decrease the likelihood of retrieving irrelevant documents.
๐๏ธ Doctran: language translation
Comparing documents through embeddings has the benefit of working across multiple languages. "Harrison says hello" and "Harrison dice hola" will occupy similar positions in the vector space because they have the same meaning semantically.
๐๏ธ Google Cloud Vertex AI Reranker
The Vertex Search Ranking API is one of the standalone APIs in Vertex AI Agent Builder. It takes a list of documents and reranks those documents based on how relevant the documents are to a query. Compared to embeddings, which look only at the semantic similarity of a document and a query, the ranking API can give you precise scores for how well a document answers a given query. The ranking API can be used to improve the quality of search results after retrieving an initial set of candidate documents.
๐๏ธ Google Cloud Document AI
Document AI is a document understanding platform from Google Cloud to transform unstructured data from documents into structured data, making it easier to understand, analyze, and consume.
๐๏ธ Google Translate
Google Translate is a multilingual neural machine translation service developed by Google to translate text, documents and websites from one language into another.
๐๏ธ HTML to text
html2text is a Python package that converts a page of HTML into clean, easy-to-read plain ASCII text.
๐๏ธ Jina Reranker
This notebook shows how to use Jina Reranker for document compression and retrieval.
๐๏ธ Markdownify
markdownify is a Python package that converts HTML documents to Markdown format with customizable options for handling tags (links, images, ...), heading styles and other.
๐๏ธ Nuclia
Nuclia automatically indexes your unstructured data from any internal and external source, providing optimized search results and generative answers. It can handle video and audio transcription, image content extraction, and document parsing.
๐๏ธ OpenAI metadata tagger
It can often be useful to tag ingested documents with structured metadata, such as the title, tone, or length of a document, to allow for a more targeted similarity search later. However, for large numbers of documents, performing this labelling process manually can be tedious.
๐๏ธ OpenVINO Reranker
OpenVINOโข is an open-source toolkit for optimizing and deploying AI inference. The OpenVINOโข Runtime supports various hardware devices including x86 and ARM CPUs, and Intel GPUs. It can help to boost deep learning performance in Computer Vision, Automatic Speech Recognition, Natural Language Processing and other common tasks.
๐๏ธ VoyageAI Reranker
Voyage AI provides cutting-edge embedding/vectorizations models.