Add Code class to field_typing module

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-02-22 15:44:26 -03:00
commit c72ee729bf
2 changed files with 6 additions and 0 deletions

View file

@ -13,6 +13,7 @@ from .constants import (
Callable,
Chain,
ChatPromptTemplate,
Code,
Data,
Document,
Embeddings,
@ -73,4 +74,5 @@ __all__ = [
"Prompt",
"RangeSpec",
"TemplateField",
"Code",
]

View file

@ -34,6 +34,10 @@ class Prompt:
pass
class Code:
pass
LANGCHAIN_BASE_TYPES = {
"Chain": Chain,
"AgentExecutor": AgentExecutor,