hackathon-cli-recommendation / cli-recommendation

4 stars 5 forks source link

Add context, telemetry, GPT token analysis #59

Closed wangzelin007 closed 1 year ago

wangzelin007 commented 1 year ago

Add GPT token logs Add context and custom context, the context refers to the native context of the function app. the custom context is part of the context and is used to store information used by telemetry and log. Add telemetry to record the duration of each request and GPT call, consumed GPT tokens, error logs, etc.