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

Issue with Annonymyzing Data #15

Open
RavikumarSHaligode opened this issue Dec 19, 2024 · 0 comments
Open

Issue with Annonymyzing Data #15

RavikumarSHaligode opened this issue Dec 19, 2024 · 0 comments

Comments

@RavikumarSHaligode
Copy link

Hi Team,

i tried with anonymizing data, following is the piece of code, SAP AI Core offering is getting confused with ORG Name and hence getting below response

MASKED_ORG manages AI assets in a standardized and scalable manner, supports the execution and operations of AI scenarios, allows seamless integration with MASKED_ORG solutions, and its main functions include lifecycle management of AI scenarios, data-driven decision-making, and automation of tasks using machine learning capabilities

Ideally here user will expect SAP AI Core instead of MASKED_ORG as SAP AI Core not a org in itself.

can you look into this?
Can we have provision like, Allow entities=["SAP AI Core"] and it should not mask this then

data_masking = DataMasking(
providers=[
SAPDataPrivacyIntegration(
method=MaskingMethod.ANONYMIZATION, # Choose MaskingMethod.PSEUDONYMIZATION if pseudonymization is needed
entities=[
ProfileEntity.EMAIL,
ProfileEntity.PHONE,
ProfileEntity.PERSON,
ProfileEntity.ORG,
ProfileEntity.LOCATION
]
)
]
)

input_filter = AzureContentFilter(hate=0, sexual=0, self_harm=0, violence=0)
output_filter = AzureContentFilter(hate=0, sexual=0, self_harm=0, violence=0)

def Orchestration_run(query, context, model_name):
# Configure the orchestration with templating and model
config = OrchestrationConfig(
template=template,
llm=LLM(name=model_name),
input_filters=[input_filter],
output_filters=[output_filter],
data_masking=data_masking
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant