Open Hrishikesh-Dutta0078 opened 1 month ago
I understand that the framework is evolving, but I have noticed that "enforce_privacy" and "custom_head" have no effect on the final output of the prompt, I have even observed the final output of the prompt via langchain (langchain.debug=True) and sensitive data appears.
PandasAI version: 2.0.37 Python version: 3.11.2 OS: Linux
System Info
Python version : 3.11.9 OS version : 64-bit operating system, x64-based processor Pandsai version : 2.0.28 (enforce privacy not working on above versions)
🐛 Describe the bug
I am using Azure OpenAI and Custom head is not working in my case. Here is are my code snippets : llm = create_llm()
def create_llm(): """Create and return an instance of the Language Learning Model.""" return AzureOpenAI( api_token=API_TOKEN, azure_endpoint=AZURE_ENDPOINT, api_version="2023-05-15", deployment_name="pandasai-gpt-4" )