Fix documentation for user_prompt parameter in QueryParam
This commit is contained in:
parent
91be53ffd2
commit
2ce6a022ac
3 changed files with 6 additions and 3 deletions
|
|
@ -352,7 +352,8 @@ class QueryParam:
|
||||||
|
|
||||||
user_prompt: str | None = None
|
user_prompt: str | None = None
|
||||||
"""User-provided prompt for the query.
|
"""User-provided prompt for the query.
|
||||||
If proivded, this will be use instead of the default vaulue from prompt template.
|
Addition instructions for LLM. If provided, this will be inject into the prompt template.
|
||||||
|
It's purpose is the let user customize the way LLM generate the response.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
enable_rerank: bool = True
|
enable_rerank: bool = True
|
||||||
|
|
|
||||||
|
|
@ -353,7 +353,8 @@ class QueryParam:
|
||||||
|
|
||||||
user_prompt: str | None = None
|
user_prompt: str | None = None
|
||||||
"""User-provided prompt for the query.
|
"""User-provided prompt for the query.
|
||||||
If proivded, this will be use instead of the default vaulue from prompt template.
|
Addition instructions for LLM. If provided, this will be inject into the prompt template.
|
||||||
|
It's purpose is the let user customize the way LLM generate the response.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
enable_rerank: bool = True
|
enable_rerank: bool = True
|
||||||
|
|
|
||||||
|
|
@ -154,7 +154,8 @@ class QueryParam:
|
||||||
|
|
||||||
user_prompt: str | None = None
|
user_prompt: str | None = None
|
||||||
"""User-provided prompt for the query.
|
"""User-provided prompt for the query.
|
||||||
If proivded, this will be use instead of the default vaulue from prompt template.
|
Addition instructions for LLM. If provided, this will be inject into the prompt template.
|
||||||
|
It's purpose is the let user customize the way LLM generate the response.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
enable_rerank: bool = os.getenv("RERANK_BY_DEFAULT", "true").lower() == "true"
|
enable_rerank: bool = os.getenv("RERANK_BY_DEFAULT", "true").lower() == "true"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue