Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[root] Internal Python error in the inspect module. Below is the traceback from this internal error. #1734

Open
harshalDharpure opened this issue Jan 17, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@harshalDharpure
Copy link

Discussed in #1733

Originally posted by harshalDharpure January 17, 2025
I am getting below error while following the Documents of Trulens with Snowflake --> https://quickstarts.snowflake.com/guide/getting_started_with_llmops_using_snowflake_cortex_and_trulens/index.html?index=..%2F..index#10

prompts = [
"How do I launch a streamlit app?",
"How can I capture the state of my session in streamlit?",
"How do I install streamlit?",
"How do I change the background color of a streamlit app?",
"What's the advantage of using a streamlit form?",
"What are some ways I should use checkboxes?",
"How can I conserve space and hide away content?",
"Can you recommend some resources for learning Streamlit?",
"What are some common use cases for Streamlit?",
"How can I deploy a streamlit app on the cloud?",
"How do I add a logo to streamlit?",
"What is the best way to deploy a Streamlit app?",
"How should I use a streamlit toggle?",
"How do I add new pages to my streamlit app?",
"How do I write a dataframe to display in my dashboard?",
"Can I plot a map in streamlit? If so, how?",
"How do vector stores enable efficient similarity search?",
]

with tru_rag as recording:
for prompt in prompts:
rag.query(prompt)

tru_session.get_leaderboard()

[root] Internal Python error in the inspect module.
Below is the traceback from this internal error.

ERROR [root] Internal Python error in the inspect module.
Below is the traceback from this internal error.

NameError: name 'Complete' is not defined

During handling of the above exception, another exception occurred:

AttributeError: 'NameError' object has no attribute 'render_traceback'

During handling of the above exception, another exception occurred:

AssertionError
NameError: name 'Complete' is not defined

During handling of the above exception, another exception occurred:

@harshalDharpure
Copy link
Author

Can anyone Please help me in resolving the above issue

@dosubot dosubot bot added the bug Something isn't working label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant