You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/docs/ecosystem
Matt Robinson c51dec5101
feat: add Unstructured API loaders (#3906)
### Summary

Adds `UnstructuredAPIFileLoaders` and `UnstructuredAPIFIleIOLoaders`
that partition documents through the Unstructured API. Defaults to the
URL for hosted Unstructured API, but can switch to a self hosted or
locally running API using the `url` kwarg. Currently, the Unstructured
API is open and does not require an API, but it will soon. A note was
added about that to the Unstructured ecosystem page.

### Testing


```python
from langchain.document_loaders import UnstructuredAPIFileIOLoader

filename = "fake-email.eml"

with open(filename, "rb") as f:
    loader = UnstructuredAPIFileIOLoader(file=f, file_filename=filename)
    docs = loader.load()

docs[0]
```

```python
from langchain.document_loaders import UnstructuredAPIFileLoader

filename = "fake-email.eml"
loader = UnstructuredAPIFileLoader(file_path=filename, mode="elements")
docs = loader.load()

docs[0]
```
1 year ago
..
ai21.md Docs refactor (#480) 1 year ago
aim_tracking.ipynb Callbacks Refactor [base] (#3256) 1 year ago
analyticdb.md Add a full PostgresSQL syntax database 'AnalyticDB' as vector store. (#3135) 1 year ago
apify.md Harrison/apify (#2215) 1 year ago
atlas.md big docs refactor (#1978) 1 year ago
bananadev.md [DOCS] Assorted wording, punctuation, and consistency revisions (#1443) 1 year ago
cerebriumai.md Add GooseAI, CerebriumAI, Petals, ForefrontAI (#981) 1 year ago
chroma.md big docs refactor (#1978) 1 year ago
clearml_tracking.ipynb Callbacks Refactor [base] (#3256) 1 year ago
cohere.md fix: numerous broken documentation links (#2070) 1 year ago
comet_tracking.ipynb Callbacks Refactor [base] (#3256) 1 year ago
databerry.md Harrison/databerry (#2688) 1 year ago
deepinfra.md Add DeepInfra LLM support (#1232) 1 year ago
deeplake.md Harrison/docs cleanup (#2633) 1 year ago
forefrontai.md Add GooseAI, CerebriumAI, Petals, ForefrontAI (#981) 1 year ago
google_search.md big docs refactor (#1978) 1 year ago
google_serper.md bump version to 131 (#2391) 1 year ago
gooseai.md Add GooseAI, CerebriumAI, Petals, ForefrontAI (#981) 1 year ago
gpt4all.md Callbacks Refactor [base] (#3256) 1 year ago
graphsignal.md Update Graphsignal ecosystem page (#2662) 1 year ago
hazy_research.md Docs refactor (#480) 1 year ago
helicone.md [DOCS] Assorted wording, punctuation, and consistency revisions (#1443) 1 year ago
huggingface.md fix: numerous broken documentation links (#2070) 1 year ago
jina.md fix: add jina jupyter notebook (#2477) 1 year ago
lancedb.md Harrison/lancedb (#3634) 1 year ago
llamacpp.md cr 1 year ago
metal.md add metal to ecosystem (#3613) 1 year ago
milvus.md big docs refactor (#1978) 1 year ago
modal.md Add Writer, Banana, Modal, StochasticAI (#1270) 1 year ago
myscale.md Harrison/myscale (#3352) 1 year ago
nlpcloud.md Docs refactor (#480) 1 year ago
openai.md fix: numerous broken documentation links (#2070) 1 year ago
opensearch.md big docs refactor (#1978) 1 year ago
petals.md Update petals.md (#1225) 1 year ago
pgvector.md big docs refactor (#1978) 1 year ago
pinecone.md big docs refactor (#1978) 1 year ago
pipelineai.md Add PipelineAI LLM integration (#3644) 1 year ago
predictionguard.md Harrison/prediction guard (#3490) 1 year ago
promptlayer.md fix: numerous broken documentation links (#2070) 1 year ago
qdrant.md big docs refactor (#1978) 1 year ago
redis.md Harrison/redis cache (#3766) 1 year ago
replicate.md Fix Replicate llm response to handle iterator / multiple outputs (#3614) 1 year ago
runhouse.md fixed the Cohere example title (#3053) 1 year ago
rwkv.md Add support for rwkv (#2422) 1 year ago
searx.md searx: implement async + helper tool providing json results (#2129) 1 year ago
serpapi.md big docs refactor (#1978) 1 year ago
stochasticai.md Add Writer, Banana, Modal, StochasticAI (#1270) 1 year ago
tair.md Harrison/tair (#3770) 1 year ago
unstructured.md feat: add Unstructured API loaders (#3906) 1 year ago
wandb_tracking.ipynb Callbacks Refactor [base] (#3256) 1 year ago
weaviate.md Updated incorrect link to Weaviate notebook (#3362) 1 year ago
wolfram_alpha.md big docs refactor (#1978) 1 year ago
writer.md Add Writer, Banana, Modal, StochasticAI (#1270) 1 year ago
yeagerai.md Ecosystem/Yeager.ai (#3239) 1 year ago
zilliz.md Adding milvus/zilliz into docs (#2686) 1 year ago