Skip to content

fix: correct DeepAcyclicGraph import path in DAG docs#2647

Merged
penguine-ip merged 1 commit into
confident-ai:mainfrom
jaydenC88:fix/dag-import-path
May 4, 2026
Merged

fix: correct DeepAcyclicGraph import path in DAG docs#2647
penguine-ip merged 1 commit into
confident-ai:mainfrom
jaydenC88:fix/dag-import-path

Conversation

@jaydenC88

Copy link
Copy Markdown
Contributor

Summary

The Usage section of the DAG metric documentation shows an incorrect import path that raises ModuleNotFoundError:

# Shown in docs (broken)
from deepeval.dag import DeepAcyclicGraph

The correct import — already used consistently everywhere else in the same file — is:

from deepeval.metrics.dag import DeepAcyclicGraph

Change

  • Fixed the import on line 65 of docs/content/docs/(custom)/metrics-dag.mdx to match all other examples in the file.

Fixes #2640

The Usage section showed `from deepeval.dag import DeepAcyclicGraph`
which raises ModuleNotFoundError. The correct import is
`from deepeval.metrics.dag import DeepAcyclicGraph`, consistent with
all other examples in the same file.

Fixes confident-ai#2640
@vercel

vercel Bot commented May 2, 2026

Copy link
Copy Markdown

@JiaEnChua is attempting to deploy a commit to the Confident AI Team on Vercel.

A member of the Team first needs to authorize it.

@penguine-ip

Copy link
Copy Markdown
Contributor

@JiaEnChua thanks for catching it!

@penguine-ip penguine-ip merged commit 805cd56 into confident-ai:main May 4, 2026
8 of 12 checks passed
@jaydenC88 jaydenC88 deleted the fix/dag-import-path branch May 7, 2026 19:50
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.

Incorrect import path for DeepAcyclicGraph in DAG documentation

2 participants