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
if llm_client is not None and llm_model is not None:
md_content += (
"\n# Description:\n"
+ self._get_llm_description(
local_path,
extension,
llm_client,
llm_model,
prompt=kwargs.get("llm_prompt"),
).strip()
+ "\n"
)
If I am passing a prompt, let ME control if I want a "Description" heading or not, and in what language it should be.
Suggestion: only append it if the prompt is None.
The text was updated successfully, but these errors were encountered:
Good point. The library was originally designed to allow LLMs to read various file formats -- and they are inherently multilingual. But, I agree this is not appropriate for other use-cases.
This is hardcoded: and it should not:
If I am passing a prompt, let ME control if I want a "Description" heading or not, and in what language it should be.
Suggestion: only append it if the prompt is None.
The text was updated successfully, but these errors were encountered: