Community[patch]use secret str in Tavily and HuggingFaceInferenceEmbeddings (#16109)

So the api keys don't show up in repr's 

Still need to do tests
This commit is contained in:
William FH
2024-01-17 00:30:07 -08:00
committed by GitHub
parent f3601b0aaf
commit e5cf1e2414
5 changed files with 22 additions and 7 deletions

View File

@@ -97,6 +97,7 @@ class TestResult(dict):
for col in df.columns
if col.startswith("inputs.")
or col.startswith("outputs.")
or col in {"input", "output"}
or col.startswith("reference")
]
return df.describe(include="all").drop(to_drop, axis=1)