-
Notifications
You must be signed in to change notification settings - Fork 1k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom head not working #1147
Comments
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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"
)
The text was updated successfully, but these errors were encountered: