Ask a question to get started
Enter to sendā¢Shift+Enter new line
update_cache( cache: BaseCache | bool | None, existing_prompts: dict[int
cache
BaseCache | bool | None
Cache object.
existing_prompts
dict[int, list]
Dictionary of existing prompts.
llm_string
str
missing_prompt_idxs
list[int]
new_results
LLMResult
prompts
list[str]
Update the cache and get the LLM output.
LLM string.
List of missing prompt indexes.
LLMResult object.
List of prompts.