Repository: truera/trulens
Issue: [BUG] pydantic_core._pydantic_core.ValidationError: 1 validation error for TruCustomApp
Root cause: External Dependency Breakage

**Bug Description**

Following the tutorial here: https://www.trulens.org/trulens_eval/getting_started/quickstarts/quickstart/#run-the-app for creating `tru_rag=TruCustomApp(rag)`
There is the following error: 
*** pydantic_core._pydantic_core.ValidationError: 1 validation error for TruCustomApp
records_with_pending_feedback_results
  Input should be an instance of Queue [type=is_instance_of, input_value=<queue.Queue object at 0x7f445754e250>, input_type=Queue]
    For further information visit https://errors.pydantic.dev/2.1/v/is_instance_of

**To Reproduce**
Follow the tutorial. 


**Environment:**
 - OS: linux
 - Python Version : 3.10 
 - TruLens version : '0.25.1'
 - Versions of other relevant installed libraries : pydantic version: '2.1.0'




<!-- Greeting -->
Hey there @satya77! Great to see you diving into more TruLens adventures. Hope all's well on your side.

<!-- Answer -->
Thank you for providing the detailed bug report. The error message you're seeing is a `ValidationError` from Pydantic, a data validation library used in Python. This error is typically raised when the type of data you're trying to use doesn't match the expected type defined in the Pydantic model.

In your case, the error message suggests that the `records_with_pending_feedback_results` field in the `TruCustomApp` class is expected to be an instance of `Queue`. However, the input you're providing is not matching this expectation, hence the error.

Unfortunately, I couldn't find the exact definition of the `TruCustomApp` class or the `records_with_pending_feedback_results` field in the TruLens repository. Therefore, I'm unable to provide a precise solution to your problem.

However, based on the error message, I would suggest checking the type of the object you're passing for the `records_with_pending_feedback_results` field when you're creating an instance of `TruCustomApp`. Make sure it's an instance of `Queue`. If it's not, you'll need to adjust your code accordingly.

If you're still encountering this issue after checking the type of `records_with_pending_feedback_results`, it would be helpful if you could provide more information about how you're using the `TruCustomApp` class and the data you're passing to it. This will help me understand your issue better and provide a more accurate solution.

For more information about Pydantic and its `ValidationError`, you can refer to the [Pydantic documentation](https://pydantic-docs.helpmanual.io/).

I hope this helps! If you have any more questions or need further clarification, feel free to ask.

[Source](https://github.com/truera/trulens/blob/main/trulens_eval/trulens_eval/ux/apps.py)

## Sources
- [trulens_eval/trulens_eval/ux/apps.py](https://github.com/truera/trulens/blob/main/trulens_eval/trulens_eval/ux/apps.py)
- [trulens_eval/trulens_eval/tru_custom_app.py](https://github.com/truera/trulens/blob/main/trulens_eval/trulens_eval/tru_custom_app.py)

<!-- Dosu Comment Footer -->
<details open>
<summary>

#### About Dosu
</summary>

This response is meant to be useful and save you time. It is **not meant to be a precise solution**, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.
</details>

A fresh environment solved the problem.