Skip to content

Commit

Permalink
Merge pull request #85 from vanna-ai/dtypes
Browse files Browse the repository at this point in the history
use dtypes
  • Loading branch information
zainhoda authored Aug 4, 2023
2 parents 5fe27b6 + b91e370 commit fdeef09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"

[project]
name = "vanna"
version = "0.0.19"
version = "0.0.20"
authors = [
{ name="Zain Hoda", email="[email protected]" },
]
Expand Down
4 changes: 2 additions & 2 deletions src/vanna/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ def generate_followup_questions(question: str, df: pd.DataFrame) -> List[str]:
params = [DataResult(
question=question,
sql=None,
table_markdown=df.head().to_markdown(),
table_markdown="",
error=None,
correction_attempts=0,
)]
Expand Down Expand Up @@ -1258,7 +1258,7 @@ def generate_plotly_code(question: Union[str, None], sql: Union[str, None], df:
params = [DataResult(
question=question,
sql=sql,
table_markdown=df.head().to_markdown(),
table_markdown=str(df.dtypes),
error=None,
correction_attempts=0,
)]
Expand Down

0 comments on commit fdeef09

Please sign in to comment.