experimental[patch], docs: refine notebook for MyScale SelfQueryRetriever (#22016)

- **Description:** upgrade model to `gpt-4o`
This commit is contained in:
mochi
2024-05-23 05:49:01 +08:00
committed by GitHub
parent d948783a4c
commit 63284ffebf
2 changed files with 6 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ class VectorSQLOutputParser(BaseOutputParser[str]):
@classmethod
def from_embeddings(
cls, model: Embeddings, distance_func_name: str = "distance", **kwargs: Any
) -> BaseOutputParser:
) -> VectorSQLOutputParser:
return cls(model=model, distance_func_name=distance_func_name, **kwargs)
def parse(self, text: str) -> str: