Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
OurBuilding Ambient Agents with LangGraph course is now available on LangChain Academy!
Open In ColabOpen on GitHub

Open Document Format (ODT)

TheOpen Document Format for Office Applications (ODF), also known asOpenDocument, is an open file format for word processing documents, spreadsheets, presentations and graphics and using ZIP-compressed XML files. It was developed with the aim of providing an open, XML-based file format specification for office applications.

The standard is developed and maintained by a technical committee in the Organization for the Advancement of Structured Information Standards (OASIS) consortium. It was based on the Sun Microsystems specification for OpenOffice.org XML, the default format forOpenOffice.org andLibreOffice. It was originally developed forStarOffice "to provide an open standard for office documents."

TheUnstructuredODTLoader is used to loadOpen Office ODT files.

from langchain_community.document_loadersimport UnstructuredODTLoader

loader= UnstructuredODTLoader("example_data/fake.odt", mode="elements")
docs= loader.load()
docs[0]
API Reference:UnstructuredODTLoader
Document(page_content='Lorem ipsum dolor sit amet.', metadata={'source': 'example_data/fake.odt', 'category_depth': 0, 'file_directory': 'example_data', 'filename': 'fake.odt', 'last_modified': '2023-12-19T13:42:18', 'languages': ['por', 'cat'], 'filetype': 'application/vnd.oasis.opendocument.text', 'category': 'Title'})

Related


[8]ページ先頭

©2009-2025 Movatter.jp