langchain/templates/rag-google-cloud-sensitive-data-protection/main.py
Erick Friis 3a2eb6e12b
infra: add print rule to ruff (#16221)
Added noqa for existing prints. Can slowly remove / will prevent more
being intro'd
2024-02-09 16:13:30 -08:00

10 lines
358 B
Python

from rag_google_cloud_sensitive_data_protection.chain import chain
if __name__ == "__main__":
query = {
"question": "Good morning. My name is Captain Blackbeard. My phone number "
"is 555-555-5555. And my email is lovely.pirate@gmail.com. Have a nice day.",
"chat_history": [],
}
print(chain.invoke(query)) # noqa: T201