Skip to content

Commit

Permalink
feat: add pandasai version in query tracker (#1244)
Browse files Browse the repository at this point in the history
* feat: add pandasai version in query tracker

* feat: add pandasai version in query tracker
  • Loading branch information
ArslanSaleem authored Jun 24, 2024
1 parent deae37e commit df4eaef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pandasai/helpers/query_exec_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import requests

import pandasai
from pandasai.connectors import BaseConnector
from pandasai.helpers.encoder import CustomEncoder
from pandasai.pipelines.chat.chat_pipeline_input import (
Expand Down Expand Up @@ -69,6 +70,7 @@ def start_new_track(self, input: ChatPipelineInput):
"instance": "Agent",
"query": input.query,
"output_type": input.output_type,
"pandasai_version": pandasai.__version__,
}

def convert_dataframe_to_dict(self, df):
Expand Down

0 comments on commit df4eaef

Please sign in to comment.