Skip to content

Commit

Permalink
Add ingest mode env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mawandm committed Apr 25, 2024
1 parent 3a1438f commit c3f4a02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test_rag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
paths:
- "nesis/rag/core/**"
- "nesis/rag/tests/**"
- "nesis/rag/core/requirements*"
- "nesis/rag/requirements*"
- "nesis/rag/settings.yaml"
pull_request:
paths:
- "nesis/rag/core/**"
- "nesis/rag/tests/**"
- "nesis/rag/core/requirements*"
- "nesis/rag/requirements*"
- "nesis/rag/settings.yaml"

jobs:
linter:
Expand Down
2 changes: 1 addition & 1 deletion nesis/rag/settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ llm:
embedding:
# Should be matching the value above in most cases
mode: ${NESIS_RAG_EMBEDDING_MODE:local}
ingest_mode: simple
ingest_mode: ${NESIS_RAG_EMBEDDING_INGEST_MODE:simple }

vectorstore:
database: pgvector
Expand Down

0 comments on commit c3f4a02

Please sign in to comment.