Skip to content

Commit

Permalink
Added RAG
Browse files Browse the repository at this point in the history
  • Loading branch information
dividor committed May 5, 2024
1 parent af190ee commit 77ef64b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ ANTHROPIC_API_KEY=sk-ant-api03-6b0Vg33VrXpxmVALpTlGJu90IvfrIbW5Q8wEamdnk1Es4mg6e
# Azure #
#============#

AZURE_API_KEY=
AZURE_API_KEY_ENV=

# Note: these variables are DEPRECATED
# Use the `librechat.yaml` configuration for `azureOpenAI` instead
Expand Down
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,16 @@ services:
image: ghcr.io/danny-avila/librechat-rag-api-dev-lite:latest
container_name: haa-libre-chat-rag-api
environment:
DB_HOST: datadb
DB_HOST: docsdb
POSTGRES_DB: ${POSTGRES_DATA_DB}
POSTGRES_USER: ${POSTGRES_DATA_USER}
POSTGRES_PASSWORD: ${POSTGRES_DATA_PASSWORD}
RAG_PORT: ${RAG_PORT:-8000}
RAG_OPENAI_API_KEY: ${AZURE_API_KEY}
RAG_AZURE_OPENAI_API_KEY: ${AZURE_API_KEY_ENV}
EMBEDDINGS_PROVIDER: azure
EMBEDDINGS_MODEL: text-embedding-ada-002
AZURE_OPENAI_ENDPOINT: https://dkopenai2.openai.azure.com/
DEBUG_RAG_API: "True"
restart: always
depends_on:
- docsdb
Expand Down

0 comments on commit 77ef64b

Please sign in to comment.