.ipynb
.pdf
Airtable
Airtable#
! pip install pyairtable
from langchain.document_loaders import AirtableLoader
Get your API key here.
Get ID of your base here.
Get your table ID from the table url as shown here.
api_key="xxx"
base_id="xxx"
table_id="xxx"
loader = AirtableLoader(api_key,table_id,base_id)
docs = loader.load()
Returns each table row as dict.
len(docs)
3
eval(docs[0].page_content)
{'id': 'recF3GbGZCuh9sXIQ',
 'createdTime': '2023-06-09T04:47:21.000Z',
 'fields': {'Priority': 'High',
  'Status': 'In progress',
  'Name': 'Document Splitters'}}
previous
Document Loaders
next
OpenAIWhisperParser
By Harrison Chase
    
      © Copyright 2023, Harrison Chase.
      
  Last updated on Jun 16, 2023.
rtdocs_stable/api.python.langchain.com/en/stable/modules/indexes/document_loaders/examples/airtable.html