Skip to content

refactor: remove root config duplicates and financial domain - #17

Merged
kavyamanohar merged 2 commits into
mainfrom
remove-root-config-files
Mar 11, 2026
Merged

refactor: remove root config duplicates and financial domain#17
kavyamanohar merged 2 commits into
mainfrom
remove-root-config-files

Conversation

@kavyamanohar

Copy link
Copy Markdown
Member

Summary

  • Removed root-level config/ directory (duplicated src/dicterrors/config/ without staying in sync)
  • Removed DomainConfig.financial() factory method, bundled financial_terms.txt, and all references — not relevant to the project's core use case (Indic language ASR for legal/medical transcription)
  • Updated examples/custom_domain_file.py to use factory methods instead of file-path lookups
  • Updated docs and CLAUDE.md to reflect the cleaned-up API surface

kavyamanohar and others added 2 commits March 11, 2026 14:05
Root config/ files were outdated duplicates of src/dicterrors/config/.
All production code uses factory methods that load from the package
directory. Replaced file-path lookup in custom_domain_file.py with
DomainConfig.legal() factory call.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Not relevant to the project's core use case (Indic language ASR for
legal/medical transcription). Removes DomainConfig.financial(), the
bundled financial_terms.txt config, and all references in docs and
examples. Inline examples updated to use a generic custom domain.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kavyamanohar
kavyamanohar merged commit 3985e3b into main Mar 11, 2026
1 check passed
@kavyamanohar
kavyamanohar deleted the remove-root-config-files branch March 11, 2026 08:52
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