You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way of getting access to the context which is passed to the LLM (eg. gpt-3.5-turbo) right before it is passed to the actual LLM for generating a response based on the context and user input?
I want to access the generated context from a RAG or semantic search, because I am curious about how it looks and also because I want to be able to more accurately calculate the amount of tokens used for each ChatCompletion when using OpenAI.
Is there any way of achieving this when using LlamaIndex?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there any way of getting access to the context which is passed to the LLM (eg. gpt-3.5-turbo) right before it is passed to the actual LLM for generating a response based on the context and user input?
I want to access the generated context from a RAG or semantic search, because I am curious about how it looks and also because I want to be able to more accurately calculate the amount of tokens used for each ChatCompletion when using OpenAI.
Is there any way of achieving this when using LlamaIndex?
Beta Was this translation helpful? Give feedback.
All reactions