Add the logic to get access token of learn knowledge index service
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.