NameError with llama Parse #241

Open
opened 2026-02-16 00:17:14 -05:00 by yindo · 2 comments
Owner

Originally created by @TaugenichtsZZY on GitHub (Aug 26, 2024).

When I try to run the multimodal_report_generation_agent.ipynb from the example locally, it reports an error in the third code block:

import llama_index.core
import os

PHOENIX_API_KEY = "xxxxxxx( my Phoenix api key)"
os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = f"api_key={PHOENIX_API_KEY}"
llama_index.core.set_global_handler(
"arize_phoenix", endpoint="https://llamatrace.com/v1/traces"
)

NameError Traceback (most recent call last)
Cell In[2], line 7
5 PHOENIX_API_KEY = "xxxxxxx( my Phoenix api key)"
6 os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = f"api_key={PHOENIX_API_KEY}"
----> 7 llama_index.core.set_global_handler(
8 "arize_phoenix", endpoint="https://llamatrace.com/v1/traces"
9 )

File ~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:10, in set_global_handler(eval_mode, **eval_params)
7 """Set global eval handlers."""
8 import llama_index.core
---> 10 handler = create_global_handler(eval_mode, **eval_params)
11 if handler:
12 llama_index.core.global_handler = handler

File ~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:55, in create_global_handler(eval_mode, **eval_params)
49 except ImportError:
50 raise ImportError(
51 "ArizePhoenixCallbackHandler is not installed. "
52 "Please install it using pip install llama-index-callbacks-arize-phoenix"
53 )
---> 55 handler = arize_phoenix_callback_handler(**eval_params)
56 elif eval_mode == "honeyhive":
57 try:
...
371 )
372 private_attributes[var_name] = value
373 del namespace[var_name]

NameError: Private attributes must not use valid field names; use sunder names, e.g. '_end_time' instead of 'end_time'.

I'm not sure what is causing this error, I should have installed all the packages that need to be installed. Is there something I'm missing that has to be installed? Or is there something wrong with the phoenix key I applied? Please help me out, thanks!

Originally created by @TaugenichtsZZY on GitHub (Aug 26, 2024). When I try to run the multimodal_report_generation_agent.ipynb from the example locally, it reports an error in the third code block: import llama_index.core import os PHOENIX_API_KEY = "xxxxxxx( my Phoenix api key)" os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = f"api_key={PHOENIX_API_KEY}" llama_index.core.set_global_handler( "arize_phoenix", endpoint="https://llamatrace.com/v1/traces" ) --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[2], [line 7](vscode-notebook-cell:?execution_count=2&line=7) [5](vscode-notebook-cell:?execution_count=2&line=5) PHOENIX_API_KEY = "xxxxxxx( my Phoenix api key)" [6](vscode-notebook-cell:?execution_count=2&line=6) os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = f"api_key={PHOENIX_API_KEY}" ----> [7](vscode-notebook-cell:?execution_count=2&line=7) llama_index.core.set_global_handler( [8](vscode-notebook-cell:?execution_count=2&line=8) "arize_phoenix", endpoint="https://llamatrace.com/v1/traces" [9](vscode-notebook-cell:?execution_count=2&line=9) ) File ~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:10, in set_global_handler(eval_mode, **eval_params) [7](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:7) """Set global eval handlers.""" [8](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:8) import llama_index.core ---> [10](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:10) handler = create_global_handler(eval_mode, **eval_params) [11](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:11) if handler: [12](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:12) llama_index.core.global_handler = handler File ~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:55, in create_global_handler(eval_mode, **eval_params) [49](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:49) except ImportError: [50](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:50) raise ImportError( [51](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:51) "ArizePhoenixCallbackHandler is not installed. " [52](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:52) "Please install it using `pip install llama-index-callbacks-arize-phoenix`" [53](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:53) ) ---> [55](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:55) handler = arize_phoenix_callback_handler(**eval_params) [56](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:56) elif eval_mode == "honeyhive": [57](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:57) try: ... [371](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/pydantic/_internal/_model_construction.py:371) ) [372](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/pydantic/_internal/_model_construction.py:372) private_attributes[var_name] = value [373](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/pydantic/_internal/_model_construction.py:373) del namespace[var_name] NameError: Private attributes must not use valid field names; use sunder names, e.g. '_end_time' instead of 'end_time'. I'm not sure what is causing this error, I should have installed all the packages that need to be installed. Is there something I'm missing that has to be installed? Or is there something wrong with the phoenix key I applied? Please help me out, thanks!
yindo added the bug label 2026-02-16 00:17:14 -05:00
Author
Owner

@ZJL0111 commented on GitHub (Sep 5, 2024):

When I try to run the multimodal_report_generation_agent.ipynb from the example locally, it reports an error in the third code block:

import llama_index.core import os

PHOENIX_API_KEY = "xxxxxxx( my Phoenix api key)"

os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = f"api_key={PHOENIX_API_KEY}"
llama_index.core.set_global_handler(
"arize_phoenix", endpoint="https://llamatrace.com/v1/traces"
)
NameError Traceback (most recent call last) Cell In[2], line 7 5 PHOENIX_API_KEY = "xxxxxxx( my Phoenix api key)" 6 os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = f"api_key={PHOENIX_API_KEY}" ----> 7 llama_index.core.set_global_handler( 8 "arize_phoenix", endpoint="https://llamatrace.com/v1/traces" 9 )

File ~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:10, in set_global_handler(eval_mode, **eval_params) 7 """Set global eval handlers.""" 8 import llama_index.core ---> 10 handler = create_global_handler(eval_mode, **eval_params) 11 if handler: 12 llama_index.core.global_handler = handler

File ~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:55, in create_global_handler(eval_mode, **eval_params) 49 except ImportError: 50 raise ImportError( 51 "ArizePhoenixCallbackHandler is not installed. " 52 "Please install it using pip install llama-index-callbacks-arize-phoenix" 53 ) ---> 55 handler = arize_phoenix_callback_handler(**eval_params) 56 elif eval_mode == "honeyhive": 57 try: ... 371 ) 372 private_attributes[var_name] = value 373 del namespace[var_name]

NameError: Private attributes must not use valid field names; use sunder names, e.g. '_end_time' instead of 'end_time'.

I'm not sure what is causing this error, I should have installed all the packages that need to be installed. Is there something I'm missing that has to be installed? Or is there something wrong with the phoenix key I applied? Please help me out, thanks!

have you installed pip install llama-index-callbacks-arize-phoenix"

@ZJL0111 commented on GitHub (Sep 5, 2024): > When I try to run the multimodal_report_generation_agent.ipynb from the example locally, it reports an error in the third code block: > > import llama_index.core import os > > ## PHOENIX_API_KEY = "xxxxxxx( my Phoenix api key)" > os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = f"api_key={PHOENIX_API_KEY}" > llama_index.core.set_global_handler( > "arize_phoenix", endpoint="https://llamatrace.com/v1/traces" > ) > NameError Traceback (most recent call last) Cell In[2], line 7 5 PHOENIX_API_KEY = "xxxxxxx( my Phoenix api key)" 6 os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = f"api_key={PHOENIX_API_KEY}" ----> 7 llama_index.core.set_global_handler( 8 "arize_phoenix", endpoint="https://llamatrace.com/v1/traces" 9 ) > > File ~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:10, in set_global_handler(eval_mode, **eval_params) [7](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:7) """Set global eval handlers.""" [8](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:8) import llama_index.core ---> [10](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:10) handler = create_global_handler(eval_mode, **eval_params) [11](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:11) if handler: [12](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:12) llama_index.core.global_handler = handler > > File ~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:55, in create_global_handler(eval_mode, **eval_params) [49](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:49) except ImportError: [50](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:50) raise ImportError( [51](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:51) "ArizePhoenixCallbackHandler is not installed. " [52](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:52) "Please install it using `pip install llama-index-callbacks-arize-phoenix`" [53](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:53) ) ---> [55](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:55) handler = arize_phoenix_callback_handler(**eval_params) [56](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:56) elif eval_mode == "honeyhive": [57](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:57) try: ... [371](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/pydantic/_internal/_model_construction.py:371) ) [372](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/pydantic/_internal/_model_construction.py:372) private_attributes[var_name] = value [373](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/pydantic/_internal/_model_construction.py:373) del namespace[var_name] > > NameError: Private attributes must not use valid field names; use sunder names, e.g. '_end_time' instead of 'end_time'. > > I'm not sure what is causing this error, I should have installed all the packages that need to be installed. Is there something I'm missing that has to be installed? Or is there something wrong with the phoenix key I applied? Please help me out, thanks! have you installed pip install llama-index-callbacks-arize-phoenix"
Author
Owner

@TaugenichtsZZY commented on GitHub (Sep 5, 2024):

When I try to run the multimodal_report_generation_agent.ipynb from the example locally, it reports an error in the third code block:
import llama_index.core import os

PHOENIX_API_KEY = "xxxxxxx( my Phoenix api key)"

os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = f"api_key={PHOENIX_API_KEY}"
llama_index.core.set_global_handler(
"arize_phoenix", endpoint="https://llamatrace.com/v1/traces"
)
NameError Traceback (most recent call last) Cell In[2], line 7 5 PHOENIX_API_KEY = "xxxxxxx( my Phoenix api key)" 6 os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = f"api_key={PHOENIX_API_KEY}" ----> 7 llama_index.core.set_global_handler( 8 "arize_phoenix", endpoint="https://llamatrace.com/v1/traces" 9 )
File ~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:10, in set_global_handler(eval_mode, **eval_params) 7 """Set global eval handlers.""" 8 import llama_index.core ---> 10 handler = create_global_handler(eval_mode, **eval_params) 11 if handler: 12 llama_index.core.global_handler = handler
File ~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:55, in create_global_handler(eval_mode, **eval_params) 49 except ImportError: 50 raise ImportError( 51 "ArizePhoenixCallbackHandler is not installed. " 52 "Please install it using pip install llama-index-callbacks-arize-phoenix" 53 ) ---> 55 handler = arize_phoenix_callback_handler(**eval_params) 56 elif eval_mode == "honeyhive": 57 try: ... 371 ) 372 private_attributes[var_name] = value 373 del namespace[var_name]
NameError: Private attributes must not use valid field names; use sunder names, e.g. '_end_time' instead of 'end_time'.
I'm not sure what is causing this error, I should have installed all the packages that need to be installed. Is there something I'm missing that has to be installed? Or is there something wrong with the phoenix key I applied? Please help me out, thanks!

have you installed pip install llama-index-callbacks-arize-phoenix"

I have installed lama-index-callbacks-arize-phoenix, and I can see in the pip list that the version is 0.2.0, and I have activated the corresponding virtual environment.

@TaugenichtsZZY commented on GitHub (Sep 5, 2024): > > When I try to run the multimodal_report_generation_agent.ipynb from the example locally, it reports an error in the third code block: > > import llama_index.core import os > > ## PHOENIX_API_KEY = "xxxxxxx( my Phoenix api key)" > > os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = f"api_key={PHOENIX_API_KEY}" > > llama_index.core.set_global_handler( > > "arize_phoenix", endpoint="https://llamatrace.com/v1/traces" > > ) > > NameError Traceback (most recent call last) Cell In[2], line 7 5 PHOENIX_API_KEY = "xxxxxxx( my Phoenix api key)" 6 os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = f"api_key={PHOENIX_API_KEY}" ----> 7 llama_index.core.set_global_handler( 8 "arize_phoenix", endpoint="https://llamatrace.com/v1/traces" 9 ) > > File ~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:10, in set_global_handler(eval_mode, **eval_params) [7](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:7) """Set global eval handlers.""" [8](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:8) import llama_index.core ---> [10](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:10) handler = create_global_handler(eval_mode, **eval_params) [11](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:11) if handler: [12](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:12) llama_index.core.global_handler = handler > > File ~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:55, in create_global_handler(eval_mode, **eval_params) [49](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:49) except ImportError: [50](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:50) raise ImportError( [51](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:51) "ArizePhoenixCallbackHandler is not installed. " [52](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:52) "Please install it using `pip install llama-index-callbacks-arize-phoenix`" [53](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:53) ) ---> [55](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:55) handler = arize_phoenix_callback_handler(**eval_params) [56](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:56) elif eval_mode == "honeyhive": [57](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/llama_index/core/callbacks/global_handlers.py:57) try: ... [371](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/pydantic/_internal/_model_construction.py:371) ) [372](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/pydantic/_internal/_model_construction.py:372) private_attributes[var_name] = value [373](https://file+.vscode-resource.vscode-cdn.net/home/zzy/code/llamaparse_test/MM_RAG_demo/~/miniconda3/envs/llamaparse_test/lib/python3.11/site-packages/pydantic/_internal/_model_construction.py:373) del namespace[var_name] > > NameError: Private attributes must not use valid field names; use sunder names, e.g. '_end_time' instead of 'end_time'. > > I'm not sure what is causing this error, I should have installed all the packages that need to be installed. Is there something I'm missing that has to be installed? Or is there something wrong with the phoenix key I applied? Please help me out, thanks! > > have you installed pip install llama-index-callbacks-arize-phoenix" I have installed lama-index-callbacks-arize-phoenix, and I can see in the pip list that the version is 0.2.0, and I have activated the corresponding virtual environment.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_cloud_services#241