Files
langchain-python/langchain/vectorstores
Mike Salvatore cbd759aaeb Fix inconsistent logging_and_data_dir parameter in AwaDB (#6775)
## Description

Tag maintainer: @rlancemartin, @eyurtsev 

### log_and_data_dir
`AwaDB.__init__()` accepts a parameter named `log_and_data_dir`. But
`AwaDB.from_texts()` and `AwaDB.from_documents()` accept a parameter
named `logging_and_data_dir`. This inconsistency in this parameter name
can lead to confusion on the part of the caller.

This PR renames `logging_and_data_dir` to `log_and_data_dir` to make all
functions consistent with the constructor.

### embedding

`AwaDB.__init__()` accepts a parameter named `embedding_model`. But
`AwaDB.from_texts()` and `AwaDB.from_documents()` accept a parameter
named `embeddings`. This inconsistency in this parameter name can lead
to confusion on the part of the caller.

This PR renames `embedding_model` to `embeddings` to make AwaDB's
constructor consistent with the classmethod "constructors" as specified
by `VectorStore` abstract base class.
2023-06-28 23:06:52 -07:00
..
2023-06-22 08:00:15 -07:00
2023-04-24 11:50:55 -07:00
2023-06-22 08:00:15 -07:00
2023-04-27 08:14:36 -07:00
2023-06-27 16:50:17 -07:00
2023-06-17 09:44:28 -07:00
2023-06-18 18:33:15 -07:00
2023-04-24 19:54:15 -07:00
2023-06-23 14:56:54 -07:00
2023-04-22 08:26:19 -07:00