Skip to content

Commit

Permalink
Add env vars for different models to terraform (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
langchain-infra authored Jan 23, 2024
1 parent e13db53 commit 0bfd101
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform/modules/chat_langchain_backend/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ locals {
LANGCHAIN_ENDPOINT = var.langchain_endpoint
LANGCHAIN_API_KEY = var.langsmith_api_key
LANGCHAIN_PROJECT = var.langchain_project
FIREWORKS_API_KEY = var.fireworks_api_key
ANTHROPIC_API_KEY = var.anthropic_api_key
}
)
}
Expand Down
12 changes: 12 additions & 0 deletions terraform/modules/chat_langchain_backend/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,15 @@ variable "langchain_endpoint" {
type = string
default = "https://api.smith.langchain.com"
}

variable "fireworks_api_key" {
description = "Fireworks api key to use for the backend"
type = string
default = ""
}

variable "anthropic_api_key" {
description = "Anthropic api key to use for the backend"
type = string
default = ""
}

0 comments on commit 0bfd101

Please sign in to comment.