Add Code class to field_typing module
This commit is contained in:
parent
0d55e42ceb
commit
c72ee729bf
2 changed files with 6 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ from .constants import (
|
||||||
Callable,
|
Callable,
|
||||||
Chain,
|
Chain,
|
||||||
ChatPromptTemplate,
|
ChatPromptTemplate,
|
||||||
|
Code,
|
||||||
Data,
|
Data,
|
||||||
Document,
|
Document,
|
||||||
Embeddings,
|
Embeddings,
|
||||||
|
|
@ -73,4 +74,5 @@ __all__ = [
|
||||||
"Prompt",
|
"Prompt",
|
||||||
"RangeSpec",
|
"RangeSpec",
|
||||||
"TemplateField",
|
"TemplateField",
|
||||||
|
"Code",
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,10 @@ class Prompt:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
class Code:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
LANGCHAIN_BASE_TYPES = {
|
LANGCHAIN_BASE_TYPES = {
|
||||||
"Chain": Chain,
|
"Chain": Chain,
|
||||||
"AgentExecutor": AgentExecutor,
|
"AgentExecutor": AgentExecutor,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue