Appends batches of completions and embeddings to a file, which enables offline analysis of embeddings (saving time as we don't need to recalculate embeddings when we perform analysis).
Embeddings are useful for topic modelling and drift detection. This will help us to monitor the effectiveness of relevance and diversity models.
Clearly we can make this more configurable by adding an embedding_path argument to the class which can be used to suppress the behaviour if set to None
Simple Experiment
A unit test will also be added to approximately perform the following:
Appends batches of completions and embeddings to a file, which enables offline analysis of embeddings (saving time as we don't need to recalculate embeddings when we perform analysis).
Embeddings are useful for topic modelling and drift detection. This will help us to monitor the effectiveness of relevance and diversity models.
Clearly we can make this more configurable by adding an
embedding_path
argument to the class which can be used to suppress the behaviour if set toNone
Simple Experiment
A unit test will also be added to approximately perform the following: