Skip to content

Commit

Permalink
update for use local LLM fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
a.gorlanov committed Nov 22, 2024
1 parent e6190b1 commit b771876
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ee/experimental/generative_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def generate_incident_summary(

if "OPENAI_API_URL" not in os.environ:
logger.error(
"OpenAI API url is not set. You use OpenAi models.",
"OpenAI API URL is not set. You use OpenAI models. But if you want use yourself LLM just add url to your LLM(vllm/ollama)",
extra={"algorithm": SUMMARY_GENERATOR_VERBOSE_NAME,
"incident_id": incident.id, "tenant_id": incident.tenant_id}
)
Expand Down Expand Up @@ -158,7 +158,7 @@ def generate_incident_name(incident: Incident, generate_name: str = None, max_na

if "OPENAI_API_URL" not in os.environ:
logger.error(
"OpenAI API url is not set. You use OpenAi models.",
"OpenAI API URL is not set. You use OpenAI models. But if you want use yourself LLM just add url to your LLM(vllm/ollama)",
extra={"algorithm": SUMMARY_GENERATOR_VERBOSE_NAME,
"incident_id": incident.id, "tenant_id": incident.tenant_id}
)
Expand Down

0 comments on commit b771876

Please sign in to comment.