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
When the same session is passed in the adapt function. The default session function check_hit_session will return False if the session_id already exists cache_session_ids. Later, the get_scalar_data function will return None if check_hit_session return False for the existing session_id and skip checking the cache data.
Expected Behavior
Ideally, if session_id exists in the cache_session_ids then check_hit_session function should return True so the cached data is further evaluated based on similarity evaluation function and so on.
Steps To Reproduce
No response
Environment
No response
Anything else?
I am building native support using GPTCache package so it is hard to provide reproducing steps. Feel free to comment on the issue and we can connect externally to discuss reproducing steps if the above description is not clear.
The text was updated successfully, but these errors were encountered:
Current Behavior
When the same session is passed in the
adapt
function. The default session function check_hit_session will returnFalse
if thesession_id
already existscache_session_ids
. Later, the get_scalar_data function will return None ifcheck_hit_session
returnFalse
for the existingsession_id
and skip checking the cache data.Expected Behavior
Ideally, if
session_id
exists in thecache_session_ids
thencheck_hit_session
function should returnTrue
so the cached data is further evaluated based on similarity evaluation function and so on.Steps To Reproduce
No response
Environment
No response
Anything else?
I am building native support using GPTCache package so it is hard to provide reproducing steps. Feel free to comment on the issue and we can connect externally to discuss reproducing steps if the above description is not clear.
The text was updated successfully, but these errors were encountered: