Skip to content

[Bug]: No module named 'llama_index.core.llms.llama_utils' #10730

@msamwelmollel

Description

@msamwelmollel

Bug Description

In v0.10.3 whenever I call
from llama_index.core.llms.llama_utils import (
messages_to_prompt,
completion_to_prompt,
)

I got the erro that module doesn't exist

Version

0.10.3

Steps to Reproduce

from llama_index.core import SimpleDirectoryReader, VectorStoreIndex
from llama_index.llms.llama_cpp import LlamaCPP
from llama_index.core.llms.llama_utils import (
messages_to_prompt,
completion_to_prompt,
)

Relevant Logs/Tracbacks

from llama_index.core.llms.llama_utils import (
ModuleNotFoundError: No module named 'llama_index.core.llms.llama_utils'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageIssue needs to be triaged/prioritized

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions