forked from Archives/langchain
rm pandas from arize (#6392)
This commit is contained in:
parent
3b7c4c51d5
commit
5ccebce777
@ -2,8 +2,6 @@
|
||||
import uuid
|
||||
from typing import Any, Dict, List, Optional, Union
|
||||
|
||||
import pandas as pd
|
||||
|
||||
from langchain.callbacks.base import BaseCallbackHandler
|
||||
from langchain.schema import AgentAction, AgentFinish, LLMResult
|
||||
|
||||
@ -77,6 +75,7 @@ class ArizeCallbackHandler(BaseCallbackHandler):
|
||||
def on_llm_end(self, response: LLMResult, **kwargs: Any) -> None:
|
||||
"""Log data to Arize when an LLM ends."""
|
||||
|
||||
import pandas as pd
|
||||
from arize.utils.types import Embedding, Environments, ModelTypes
|
||||
|
||||
# Record token usage of the LLM
|
||||
|
Loading…
Reference in New Issue
Block a user