Skip to content
Discussion options

You must be logged in to vote

Hi @viktorhollo - the change to the openai endpoint here has no impact on TruLens usage.

By using @instrument(span_type=SpanAttributes.SpanType.GENERATION) decorator above a function, TruLens captures the input and output of that instrumented function (generate_completion) regardless of the underlying logic/apis used in the function.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sfc-gh-jreini
Comment options

Answer selected by sfc-gh-jreini
@viktorhollo
Comment options

@sfc-gh-jreini
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants