Skip to content

Commit

Permalink
add default model for intro example
Browse files Browse the repository at this point in the history
  • Loading branch information
raspawar committed Nov 20, 2024
1 parent f4c42f6 commit 8069997
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions nvidia_models/intro/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NVIDIA_API_KEY=
MODEL=meta/llama-3.1-8b-instruct
2 changes: 1 addition & 1 deletion nvidia_models/intro/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def set_callbacks(self, callbacks: List[Any]):
litellm.callbacks = callbacks


model = os.environ.get("MODEL")
model = os.environ.get("MODEL", "meta/llama-3.1-8b-instruct")
llm = ChatNVIDIA(model=model)
default_llm = nvllm(model_str="nvidia_nim/" + model, llm=llm)

Expand Down
2 changes: 1 addition & 1 deletion nvidia_models/marketing_strategy/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "marketing_posts"
version = "0.1.0"
description = "marketing-posts using crewAI"
authors = ["Your Name <you@example.com>"]
authors = ["raspawar raspawar@nvidia.com"]

[tool.poetry.dependencies]
python = ">=3.10,<=3.13"
Expand Down

0 comments on commit 8069997

Please sign in to comment.