forked from phoenix/litellm-mirror
add everyting for docs
This commit is contained in:
parent
de45a738ee
commit
0fe8799f94
1015 changed files with 185353 additions and 0 deletions
15
docs/snippets/modules/chains/base_class.mdx
Normal file
15
docs/snippets/modules/chains/base_class.mdx
Normal file
|
@ -0,0 +1,15 @@
|
|||
```python
|
||||
class Chain(BaseModel, ABC):
|
||||
"""Base interface that all chains should implement."""
|
||||
|
||||
memory: BaseMemory
|
||||
callbacks: Callbacks
|
||||
|
||||
def __call__(
|
||||
self,
|
||||
inputs: Any,
|
||||
return_only_outputs: bool = False,
|
||||
callbacks: Callbacks = None,
|
||||
) -> Dict[str, Any]:
|
||||
...
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue