# NeuralDBRetriever

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/retrievers/thirdai_neuraldb/NeuralDBRetriever)

Document retriever that uses ThirdAI's NeuralDB.

## Signature

```python
NeuralDBRetriever()
```

## Extends

- `BaseRetriever`

## Properties

- `thirdai_key`
- `db`
- `model_config`

## Methods

- [`from_scratch()`](https://reference.langchain.com/python/langchain-community/retrievers/thirdai_neuraldb/NeuralDBRetriever/from_scratch)
- [`from_checkpoint()`](https://reference.langchain.com/python/langchain-community/retrievers/thirdai_neuraldb/NeuralDBRetriever/from_checkpoint)
- [`validate_environments()`](https://reference.langchain.com/python/langchain-community/retrievers/thirdai_neuraldb/NeuralDBRetriever/validate_environments)
- [`insert()`](https://reference.langchain.com/python/langchain-community/retrievers/thirdai_neuraldb/NeuralDBRetriever/insert)
- [`upvote()`](https://reference.langchain.com/python/langchain-community/retrievers/thirdai_neuraldb/NeuralDBRetriever/upvote)
- [`upvote_batch()`](https://reference.langchain.com/python/langchain-community/retrievers/thirdai_neuraldb/NeuralDBRetriever/upvote_batch)
- [`associate()`](https://reference.langchain.com/python/langchain-community/retrievers/thirdai_neuraldb/NeuralDBRetriever/associate)
- [`associate_batch()`](https://reference.langchain.com/python/langchain-community/retrievers/thirdai_neuraldb/NeuralDBRetriever/associate_batch)
- [`save()`](https://reference.langchain.com/python/langchain-community/retrievers/thirdai_neuraldb/NeuralDBRetriever/save)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/retrievers/thirdai_neuraldb.py#L15)