Skip to content

Conversation

@dluc
Copy link
Collaborator

@dluc dluc commented Jan 8, 2025

Add basic configuration check to detect some warnings and errors. The feature can be extended in future to check more services and more details, e.g. availability and permissions.

How to use:

cd service/Service
dotnet run check

Output sample:

### Service configuration

Orchestration           : Distributed
Orchestration Service   : AzureQueues
Default ingestion steps : system default

Embedding Generation    : Enabled
Embedding Generators    : AzureOpenAIEmbedding
Memory DBs              : AzureAISearch
Document storage        : AzureBlobs

Text partitioning       : Line:300; Paragraph:1000; Overlapping:100
Image OCR               : AzureAIDocIntel
Text Generation         : AzureOpenAIText
Moderation              : AzureAIContentSafety

### Services Dependencies

- AzureQueues
  - Auth: AzureIdentity
  - PollDelayMsecs: 100
  - FetchBatchSize: 3
  - FetchLockSeconds: 300
  - MaxRetriesBeforePoisonQueue: 20
  - PoisonQueueSuffix: -poison
- AzureOpenAIEmbedding
  - Auth: AzureIdentity
  - Deployment: text-embedding-ada-002
  - MaxTokenTotal: 8191
  - Tokenizer: cl100k
  - MaxEmbeddingBatchSize: 50
  - MaxRetries: 10
- AzureAISearch
  - Auth: AzureIdentity
- AzureBlobs
  - Auth: AzureIdentity
  - Container: kernelmemory

### Warnings

None.

### Errors

None.

@dluc dluc merged commit df03deb into microsoft:main Jan 8, 2025
6 checks passed
@dluc dluc deleted the featdoct branch January 8, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant