Home / Companies / Unstructured / Blog / September 2023

September 2023 Summaries

4 posts from Unstructured

Filter
Month: Year:
Post Summaries Back to Blog
The blog post discusses how to build a Question and Answer (Q+A) Retrieval Augmented Generation (RAG) system utilizing Slack data, Unstructured, and SingleStoreDB, authored by Ronny Hoesada. The approach leverages Unstructured to process and prepare Slack data, making it suitable for retrieval tasks, and SingleStoreDB to handle large-scale data storage and retrieval efficiently. This system aims to enhance Q+A capabilities by integrating these tools, thereby improving data accessibility and response accuracy. The post also references related articles that explore various use cases and technological approaches in different industries, highlighting the broader applicability and potential of these technologies in document AI and other fields.
Sep 20, 2023 72 words in the original blog post.
The text discusses the limitations and potential of Large Language Models (LLMs) like OpenAI's GPT-3, 3.5, and 4, highlighting their vast yet static knowledge base, which is limited to information up until a specific cutoff date. To address the challenge of keeping these models relevant and updated, techniques such as fine-tuning and Retrieval Augmented Generation (RAG) are recommended. The guide explains how to use Unstructured, an open-source tool, to enhance GPT models with the most current data and domain-specific insights. It provides a detailed process for fine-tuning these models using a dataset, exemplifying with the Federal Open Market Committee's meeting notes, and discusses the necessary setup, including obtaining API keys, setting up Google Drive integration, and preparing a fine-tuning dataset. Additionally, it covers the practical aspects of fine-tuning, such as token limits, cost estimation, and training duration, while addressing potential errors and providing troubleshooting tips. The text concludes by emphasizing the improved accuracy of fine-tuned models and suggests combining fine-tuning with RAG for optimal results, with ongoing efforts to simplify these processes through the Unstructured platform.
Sep 19, 2023 2,459 words in the original blog post.
Advancements in large language models (LLMs) like OpenAI's GPT-3, 3.5, and 4 have democratized access to high-powered language processing, yet they remain limited by static knowledge bases and cutoff dates, such as GPT's knowledge ending in September 2021. To address these limitations and enhance relevance in specific domains or with updated data, organizations are using techniques like fine-tuning and Retrieval Augmented Generation (RAG). Fine-tuning allows models to encode specialized knowledge directly, while RAG provides access to new information. The article discusses utilizing the Unstructured platform to integrate the latest data into models like ChatGPT, enhancing functionality through Google Cloud and Python tools. It details the process of preparing a dataset, fine-tuning models with OpenAI's API, and highlights the challenges and benefits of this approach, including improved accuracy and relevance over default models. The piece concludes by recommending a combination of fine-tuning and RAG for optimal results and hints at further exploration of these techniques in an upcoming blog post.
Sep 19, 2023 2,459 words in the original blog post.
Web scraping and text chunking are pivotal techniques in preparing clean data for Large Language Models (LLMs), and the Unstructured library offers an efficient solution for these tasks. By using the `partition_html` function, users can seamlessly ingest and preprocess data from websites by partitioning HTML documents into manageable elements, thus retaining the essential context needed for LLM consumption. This function is adaptable, allowing users to configure options like SSL verification, content inclusion, and text encoding. Once the data is ingested, it can be stored in structured formats such as JSON for further use, like fine-tuning LLMs. The library also provides advanced chunking strategies, such as context-aware chunking, which maintains the logical structure of HTML content by grouping elements like titles and narrative texts. The recent addition of the `chunk_by_title` function simplifies the process by automatically organizing elements into hierarchical sections based on detected titles. These capabilities make the Unstructured library a valuable tool for efficiently handling web data for LLM training and applications.
Sep 02, 2023 875 words in the original blog post.