Skip to content

Commit

Permalink
remove exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
axiomofjoy committed Feb 5, 2024
1 parent c2ed8e9 commit ba48dd2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions llama_index/callbacks/arize_phoenix_callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@

def arize_phoenix_callback_handler(**kwargs: Any) -> BaseCallbackHandler:
try:
from phoenix.trace.exporter import HttpExporter
from phoenix.trace.llama_index import OpenInferenceTraceCallbackHandler
except ImportError:
raise ImportError(
"Please install Arize Phoenix with `pip install -q arize-phoenix`"
)
if "exporter" not in kwargs:
kwargs = {"exporter": HttpExporter(), **kwargs}
return OpenInferenceTraceCallbackHandler(**kwargs)

0 comments on commit ba48dd2

Please sign in to comment.