Skip to content

Commit

Permalink
address all comments
Browse files Browse the repository at this point in the history
  • Loading branch information
abraham-leal committed Dec 23, 2024
1 parent 55b12f1 commit 7011748
Show file tree
Hide file tree
Showing 25 changed files with 217 additions and 842 deletions.
2 changes: 1 addition & 1 deletion docs/docs/guides/integrations/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ LLM providers are the vendors that offer access to large language models for gen
- **[Groq](/guides/integrations/groq)**
- **[Open Router](/guides/integrations/openrouter)**
- **[LiteLLM](/guides/integrations/litellm)**
- - **[NVIDIA NIM](/guides/integrations/nvidia_nim)**
- **[NVIDIA NIM](/guides/integrations/nvidia_nim)**



Expand Down
6 changes: 6 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"cohere",
"dspy",
"langchain",
"langchain_nvidia_ai_endpoints",
"litellm",
"notdiamond",
"google_ai_studio",
Expand Down Expand Up @@ -40,6 +41,7 @@ def lint(session):
"google_ai_studio",
"groq",
"instructor",
"langchain_nvidia_ai_endpoints",
"langchain",
"litellm",
"llamaindex",
Expand Down Expand Up @@ -73,6 +75,10 @@ def tests(session, shard):
if shard == "google_ai_studio":
env["GOOGLE_API_KEY"] = session.env.get("GOOGLE_API_KEY")

# Add the NVIDIA_API_KEY environment variable for the "langchain_nvidia_ai_endpoints" shard
if shard == "langchain_nvidia_ai_endpoints":
env["NVIDIA_API_KEY"] = session.env.get("NVIDIA_API_KEY")

# we are doing some integration test in test_llm_integrations.py that requires
# setting some environment variables for the LLM providers
if shard == "scorers_tests":
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ langchain = [
"chromadb>=0.5.0",
"pysqlite3",
"opentelemetry-exporter-otlp",
]
langchain_nvidia_ai_endpoints = [
"langchain-core>=0.2.1",
"langchain-nvidia-ai-endpoints",
]
litellm = ["litellm>=1.36.1"]
Expand Down
Empty file added tests/integrations/__init__.py
Empty file.

This file was deleted.

Loading

0 comments on commit 7011748

Please sign in to comment.