Skip to content

Commit

Permalink
Fix import error for ChatMessage in token_counting (#11021)
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitbyteiq authored Feb 20, 2024
1 parent 8c807d8 commit 4b3b7e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from typing import Any, Callable, Dict, List, Optional

from llama_index.core.llms import ChatMessage, MessageRole
from llama_index.core.base.llms.types import ChatMessage, MessageRole
from llama_index.core.utils import get_tokenizer


Expand Down

0 comments on commit 4b3b7e1

Please sign in to comment.