experimental[patch]: fixed namespace bug (#13585)

It was :
`from langchain.schema.prompts import BasePromptTemplate`
but because of the breaking change in the ns, it is now
`from langchain.schema.prompt_template import BasePromptTemplate`

This bug prevents building the API Reference for the langchain_experimental
This commit is contained in:
Leonid Ganeline authored and GitHub committed 2023-11-28 16:40:27 -08:00
1 parent 1ab8a14742
commit bf5787f58b
1 file changed
+1 -1
@@ -6,7 +6,7 @@ from typing import Union
import yaml
from langchain.prompts.loading import load_prompt_from_config, try_load_from_hub
from langchain.schema.prompts import BasePromptTemplate
from langchain_core.prompts import BasePromptTemplate
def load_prompt(path: Union[str, Path]) -> BasePromptTemplate: