Skip to content

feat: add yml yaml file support for indexation#42

Merged
dpomian merged 2 commits into
AmadeusITGroup:mainfrom
idrisfl:main
Aug 19, 2025
Merged

feat: add yml yaml file support for indexation#42
dpomian merged 2 commits into
AmadeusITGroup:mainfrom
idrisfl:main

Conversation

@idrisfl

@idrisfl idrisfl commented Aug 3, 2025

Copy link
Copy Markdown
Contributor
  • Added support for .yml and .yaml file extensions
  • Implemented _load_yaml() method with multi-document support using yaml.safe_load_all()
  • Handles YAML files containing multiple documents separated by ---
  • Added robust error handling in az_ada002_embeddings() method with try-catch blocks
  • Enhanced logging with debug messages for embedding requests and responses

@idrisfl idrisfl marked this pull request as ready for review August 3, 2025 16:27
Comment thread src/docs2vecs/subcommands/indexer/skills/ada002_embedding_skill.py Outdated
Comment thread src/docs2vecs/subcommands/indexer/skills/ada002_embedding_skill.py Outdated
Comment thread src/docs2vecs/subcommands/indexer/skills/ada002_embedding_skill.py Outdated

@dpomian dpomian left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for your contribution!

@idrisfl idrisfl requested a review from wherka-ama August 7, 2025 18:14
@dpomian dpomian merged commit 28ba943 into AmadeusITGroup:main Aug 19, 2025
9 checks passed
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.

3 participants