graphiti icon indicating copy to clipboard operation
graphiti copied to clipboard

Voyage no-worky

Open kcsf opened this issue 6 months ago • 8 comments

Embedder failed: Voyage embedder requested but not available. Install with: pip install graphiti-core[voyage]

  • which results in: WARNING: graphiti-core 0.17.1 does not provide the extra 'voyage'

kcsf avatar Jul 15 '25 17:07 kcsf

@claude please investigate

danielchalef avatar Jul 15 '25 20:07 danielchalef

Claude finished @danielchalef's task —— View jobclaude/issue-728-20250715_205550Create PR ➔


Investigation Complete ✅

I've identified and fixed the Voyage extra packaging issue.

Root Cause:

The issue was a mismatch between the expected extra name and the actual extra name:

  1. Current state: pyproject.toml had voyageai = ["voyageai>=0.2.3"]
  2. Expected by error messages: Some code suggests voyage extra but it didn't exist
  3. Provider type mapping: The _get_provider_type method returns 'voyage' for voyage-related classes

Solution Implemented:

Fixed: Added voyage = ["voyageai>=0.2.3"] to pyproject.toml at line 33

This provides the missing voyage extra that users expect, pointing to the same voyageai dependency as the voyageai extra. Now both pip install graphiti-core[voyage] and pip install graphiti-core[voyageai] will work correctly.

Changes Made:

  • File: /home/runner/work/graphiti/graphiti/pyproject.toml
  • Line 33: Added voyage = ["voyageai>=0.2.3"]

The fix maintains backward compatibility while ensuring the packaging issue is resolved.

Next Steps:


claude[bot] avatar Jul 15 '25 20:07 claude[bot]

@claude please keep just voyageai and update the error message in _get_provider_type

danielchalef avatar Jul 15 '25 21:07 danielchalef

Claude finished @danielchalef's task —— View jobclaude/issue-728-20250715_210406Create PR ➔


Working on Voyage packaging fix ✅

  • [x] Find _get_provider_type method in codebase
  • [x] Look for error messages that suggest installing voyage extra
  • [x] Remove voyage extra from pyproject.toml (none found)
  • [x] Update error message to reference voyageai instead of voyage
  • [x] Commit and push changes
  • [x] Create PR link

Summary

Fixed the VoyageAI provider type mapping inconsistency by updating the _get_provider_type method in /home/runner/work/graphiti/graphiti/graphiti_core/graphiti.py:242 to return 'voyageai' instead of 'voyage' for VoyageAI classes.

This ensures consistency between the telemetry provider name and the actual extra name used in pyproject.toml (voyageai), preventing confusion about which extra to install.

Changes Made:

  • File: /home/runner/work/graphiti/graphiti/graphiti_core/graphiti.py
  • Line 242: Changed return value from 'voyage' to 'voyageai'

claude[bot] avatar Jul 15 '25 21:07 claude[bot]

@kcsf Is this still an issue? Please confirm within 14 days or this issue will be closed.

claude[bot] avatar Oct 05 '25 00:10 claude[bot]

@kcsf Is this still an issue? Please confirm within 14 days or this issue will be closed.

claude[bot] avatar Oct 22 '25 00:10 claude[bot]

@kcsf Is this still an issue? Please confirm within 14 days or this issue will be closed.

claude[bot] avatar Oct 29 '25 00:10 claude[bot]

@kcsf Is this still an issue? Please confirm within 14 days or this issue will be closed.

claude[bot] avatar Nov 17 '25 00:11 claude[bot]