Skip to content

Conversation

Mustafa-Esoofally
Copy link
Contributor

@Mustafa-Esoofally Mustafa-Esoofally commented Aug 19, 2025

Summary

Update Voyager enbedder to use env variable

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Improvement
  • Model update
  • Other:

Checklist

  • Code complies with style guidelines
  • Ran format/validation scripts (./scripts/format.sh and ./scripts/validate.sh)
  • Self-review completed
  • Documentation updated (comments, docstrings)
  • Examples and guides: Relevant cookbook examples have been included or updated (if applicable)
  • Tested in clean environment
  • Tests added/updated (if applicable)

@Mustafa-Esoofally Mustafa-Esoofally requested a review from a team as a code owner August 19, 2025 11:51
dimensions: int = 1024
request_params: Optional[Dict[str, Any]] = None
api_key: Optional[str] = None
api_key: Optional[str] = getenv("VOYAGE_API_KEY")
Copy link
Contributor

Choose a reason for hiding this comment

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

Not in the signature, but you can do this in the init below please

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.

2 participants