Skip to content

Commit a033c70

Browse files
committed
deploy: 7e5089c
1 parent a4b5321 commit a033c70

28 files changed

+1713
-911
lines changed

_sources/best_practices/designing_effective_lmps.rst.txt

-250
This file was deleted.

_sources/core_concepts/configuration.rst.txt

+11-8
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@ Configuration
44

55
ell provides various configuration options to customize its behavior.
66

7-
.. code-block:: python
7+
.. autofunction:: ell.init
88

9-
import ell
9+
This ``init`` function is a convenience function that sets up the configuration for ell. It is a thin wrapper around the ``Config`` class, which is a Pydantic model.
1010

11-
ell.init(
12-
store='./logdir',
13-
autocommit=True,
14-
verbose=True
15-
)
11+
You can modify the global configuration using the ``ell.config`` object which is an instance of ``Config``:
1612

17-
# Your ell code here
13+
.. autopydantic_model:: ell.Config
14+
:members:
15+
:exclude-members: default_client, registry, store, has_store
16+
:model-show-json: false
17+
:model-show-validator-members: false
18+
:model-show-config-summary: false
19+
:model-show-field-summary: false
20+
:model-show-validator-summary: false

0 commit comments

Comments
 (0)