Log custom metadata in a table format
import pandas as pd
from vectice import Table
table_dict = {
"inputs": ["What is Vectice?", "Describe a dog to me"],
"outputs": ["Vectice is an auto-documentation platform", "A dog is an animal with four legs"],
"toxicity": [0.0, 0.0],
}
prompt_data_input_output = pd.DataFrame(table_dict)
table = Table(prompt_data_input_output, name="prompt_data")
iteration.log(table)
Last updated
Was this helpful?