Skip to main contentü¶úÔ∏èüîó LangChainDocsUse casesIntegrationsAPICommunityChat our docsLangSmithJS/TS DocsSearchCTRLKProvidersAnthropicAWSGoogleMicrosoftOpenAIMoreComponentsLLMsChat modelsDocument loadersDocument transformersBeautiful SoupGoogle Cloud Document AIDoctran: extract propertiesDoctran: interrogate documentsDoctran: language translationHTML to textNucliaOpenAI metadata taggerText embedding modelsVector storesRetrieversToolsAgents and toolkitsMemoryCallbacksChat loadersComponentsDocument transformersDoctran: extract propertiesOn this pageDoctran: extract propertiesWe can extract useful features of documents using the Doctran library, which uses OpenAI's function calling feature to extract specific metadata.Extracting metadata from documents is helpful for a variety of tasks, including:Classification: classifying documents into different categoriesData mining: Extract structured data that can be used for data analysisStyle transfer: Change the way text is written to more closely match expected user input, improving vector search resultspip install doctranimport jsonfrom langchain.schema import Documentfrom langchain.document_transformers import DoctranPropertyExtractorfrom dotenv import load_dotenvload_dotenv()    TrueInput‚ÄãThis is the document we'll extract properties from.sample_text = """[Generated with ChatGPT]Confidential Document - For Internal Use OnlyDate: July 1, 2023Subject: Updates and Discussions on Various TopicsDear Team,I hope this email finds you well. In this document, I would like to provide you with some important updates and discuss various topics that require our attention. Please treat the information contained herein as highly confidential.Security and Privacy MeasuresAs part of our ongoing commitment to ensure the security and privacy of our customers' data, we have implemented robust measures across all our systems. We would like to commend John Doe (email: john.doe@example.com) from the IT department for his diligent work in
We can extract useful features of documents using the Doctran library, which uses OpenAI's function calling feature to extract specific metadata.
We can extract useful features of documents using the Doctran library, which uses OpenAI's function calling feature to extract specific metadata. ->: Skip to main contentü¶úÔ∏èüîó LangChainDocsUse casesIntegrationsAPICommunityChat our docsLangSmithJS/TS DocsSearchCTRLKProvidersAnthropicAWSGoogleMicrosoftOpenAIMoreComponentsLLMsChat modelsDocument loadersDocument transformersBeautiful SoupGoogle Cloud Document AIDoctran: extract propertiesDoctran: interrogate documentsDoctran: language translationHTML to textNucliaOpenAI metadata taggerText embedding modelsVector storesRetrieversToolsAgents and toolkitsMemoryCallbacksChat loadersComponentsDocument transformersDoctran: extract propertiesOn this pageDoctran: extract propertiesWe can extract useful features of documents using the Doctran library, which uses OpenAI's function calling feature to extract specific metadata.Extracting metadata from documents is helpful for a variety of tasks, including:Classification: classifying documents into different categoriesData mining: Extract structured data that can be used for data analysisStyle transfer: Change the way text is written to more closely match expected user input, improving vector search resultspip install doctranimport jsonfrom langchain.schema import Documentfrom langchain.document_transformers import DoctranPropertyExtractorfrom dotenv import load_dotenvload_dotenv()    TrueInput‚ÄãThis is the document we'll extract properties from.sample_text = """[Generated with ChatGPT]Confidential Document - For Internal Use OnlyDate: July 1, 2023Subject: Updates and Discussions on Various TopicsDear Team,I hope this email finds you well. In this document, I would like to provide you with some important updates and discuss various topics that require our attention. Please treat the information contained herein as highly confidential.Security and Privacy MeasuresAs part of our ongoing commitment to ensure the security and privacy of our customers' data, we have implemented robust measures across all our systems. We would like to commend John Doe (email: john.doe@example.com) from the IT department for his diligent work in