Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(LLMJudge): adding set of integration test where OpanAI is used as LLM Judge #1546

Merged
merged 19 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
0b838f3
fix(VirtualDataframe): fixing virtual dataframe name conflict
scaliseraoul Jan 20, 2025
65dc12a
feature(View): enabling view in SemanticLayerSchema
scaliseraoul Jan 20, 2025
cf142de
Merge branch 'release/v3' of https://github.com/Sinaptik-AI/pandas-ai…
scaliseraoul Jan 20, 2025
57b8900
Update pandasai/data_loader/semantic_layer_schema.py
scaliseraoul Jan 20, 2025
5351e46
Merge branch 'release/v3' into release/v3
scaliseraoul Jan 20, 2025
3575417
feature(View): enabling view in loader
scaliseraoul Jan 20, 2025
8250bdd
Merge commit '4db35d2b278559eef8b6d5ad15bdc1d8a3936855' into release/v3
scaliseraoul Jan 21, 2025
e2ba54b
Merge commit '7967d07f90866edc71f12fdac61761d0946712f8' into release/v3
scaliseraoul Jan 21, 2025
db0acf0
feature(View): adding integration tests
scaliseraoul Jan 21, 2025
4fcac45
feature(ChatTest): adding first set of numeric questions
scaliseraoul Jan 21, 2025
1b20e4c
feature(ChatTest): adding set of questions for loans and heart csv
scaliseraoul Jan 22, 2025
dc63131
Update pandasai/data_loader/loader.py
scaliseraoul Jan 22, 2025
c766564
fix(ChatTest): typo in heart_stroke_path
scaliseraoul Jan 22, 2025
223502e
Merge branch 'fix/SIN-310' of https://github.com/scaliseraoul/pandas-…
scaliseraoul Jan 22, 2025
7c20370
Merge branch 'release/v3' into fix/SIN-310
scaliseraoul Jan 22, 2025
55bcfc3
feature(LLMJudge): adding set of integration test where OpanAI is use…
scaliseraoul Jan 23, 2025
ee6f14a
Merge branch 'release/v3' into fix/SIN-310
scaliseraoul Jan 23, 2025
d1d3379
fix(LLMJudge): using root path function, global average result
scaliseraoul Jan 24, 2025
2040426
fix: sanitize name of dataset passed as param in pai.create
scaliseraoul Jan 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pandasai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def create(
schema_path = os.path.join(dataset_directory, "schema.yaml")

schema = df.schema
schema.name = name or schema.name
schema.name = sanitize_sql_table_name(name or schema.name)
schema.description = description or schema.description
if columns:
schema.columns = list(map(lambda column: Column(**column), columns))
Expand Down Expand Up @@ -204,7 +204,7 @@ def load(dataset_path: str) -> DataFrame:
def read_csv(filepath: str) -> DataFrame:
data = pd.read_csv(filepath)
name = f"table_{sanitize_sql_table_name(filepath)}"
return DataFrame(data._data, name=name)
return DataFrame(data, name=name)


__all__ = [
Expand Down
Loading
Loading