Reporting LLM calls
To track a call to an LLM, just wrap that call in your code with thewithLLMCall
function in Typescript or track_llm_call
in Python.
These functions passes a parameter you can use to report the request and response from this call.
Reporting Vector DB calls
To track a call to a vector DB, just wrap that call in your code with thewithVectorDBCall
function.
This function passes a parameter you can use to report the query vector as well as the results from this call.