@@ -136,7 +136,7 @@ def __init__(
136
136
- `client` (Optional, chromadb.Client) - the chromadb client. If key not provided, a
137
137
default client `chromadb.Client()` will be used. If you want to use other
138
138
vector db, extend this class and override the `retrieve_docs` function.
139
- ** Deprecated**: use `vector_db` instead.
139
+ *[ Deprecated]* use `vector_db` instead.
140
140
- `docs_path` (Optional, Union[str, List[str]]) - the path to the docs directory. It
141
141
can also be the path to a single file, the url to a single file or a list
142
142
of directories, files and urls. Default is None, which works only if the
@@ -150,7 +150,7 @@ def __init__(
150
150
By default, "extra_docs" is set to false, starting document IDs from zero.
151
151
This poses a risk as new documents might overwrite existing ones, potentially
152
152
causing unintended loss or alteration of data in the collection.
153
- ** Deprecated**: use `new_docs` when use `vector_db` instead of `client`.
153
+ *[ Deprecated]* use `new_docs` when use `vector_db` instead of `client`.
154
154
- `new_docs` (Optional, bool) - when True, only adds new documents to the collection;
155
155
when False, updates existing documents and adds new ones. Default is True.
156
156
Document id is used to determine if a document is new or existing. By default, the
@@ -173,7 +173,7 @@ def __init__(
173
173
models can be found at `https://www.sbert.net/docs/pretrained_models.html`.
174
174
The default model is a fast model. If you want to use a high performance model,
175
175
`all-mpnet-base-v2` is recommended.
176
- ** Deprecated**: no need when use `vector_db` instead of `client`.
176
+ *[ Deprecated]* no need when use `vector_db` instead of `client`.
177
177
- `embedding_function` (Optional, Callable) - the embedding function for creating the
178
178
vector db. Default is None, SentenceTransformer with the given `embedding_model`
179
179
will be used. If you want to use OpenAI, Cohere, HuggingFace or other embedding
@@ -220,7 +220,7 @@ def __init__(
220
220
221
221
Example of overriding retrieve_docs - If you have set up a customized vector db, and it's
222
222
not compatible with chromadb, you can easily plug in it with below code.
223
- ** Deprecated**: Use `vector_db` instead. You can extend VectorDB and pass it to the agent.
223
+ *[ Deprecated]* use `vector_db` instead. You can extend VectorDB and pass it to the agent.
224
224
```python
225
225
class MyRetrieveUserProxyAgent(RetrieveUserProxyAgent):
226
226
def query_vector_db(
0 commit comments