Comments (4)
@tarynduong Thanks for the feedback! Could you share a bit more about how you're using Azure Functions and where you're running into errors?
from trulens.
Bump @tarynduong - can you share more about the unicode errors you're seeing with Azure Functions?
from trulens.
Hello,
I have the same problem on a windows machine runnning python 3.10
Tru().run_dashboard()
File "C:\Users\lkNGAT\project\venv\lib\site-packages\trulens_eval\tru.py", line 117, in __init__
print(
File "C:\Users\lkNGAT\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f991' in position 0: character maps to <undefined>
from trulens.
There is some discussion here: https://stackoverflow.com/questions/14630288/unicodeencodeerror-charmap-codec-cant-encode-character-maps-to-undefined
@lkNGAT @tarynduong Can you put this in your code before you import or use trulens and let us know if the issue persists:
import sys
if sys.stdout.encoding != 'cp850':
sys.stdout = codecs.getwriter('cp850')(sys.stdout.buffer, 'strict')
if sys.stderr.encoding != 'cp850':
sys.stderr = codecs.getwriter('cp850')(sys.stderr.buffer, 'strict')
from trulens.
Related Issues (20)
- [BUG] TruLens Quickstart - OperationalError: (sqlite3.OperationalError) no such table: trulens_apps HOT 6
- [FEAT] Feasibility to extend the record schema to accommodate custom fields
- Getting RecursionError: maximum recursion depth exceeded while calling a Python object while creating tru_recorder. HOT 14
- [BUG] TruChain - no values returned for Groundedness feedback function for Bedrock HOT 3
- Error: ValueError: Some selectors do not exist in the app or record. HOT 10
- Feedback functions returning FAILED HOT 8
- [FEAT] Can I use a full local LLM instead of openai? HOT 1
- [BUG] Could not locate app.retriever.get_relevant_documents.rets[:].page_content.collect() in app/record. HOT 4
- Getting issues in using Trulens with Langchain Agents like ReAct/Structured Chat HOT 6
- getting error that openai is not installed. HOT 15
- [BUG] Azure openai shows 404 error HOT 1
- Outdated documentation for Groundedness HOT 2
- [BUG] Bedrock provider always gives: "Groundedness per statement in source: 0%" HOT 5
- [BUG] Problem with custom retriever. It's triggering "Found more than one `BaseRetriever` in app". HOT 5
- [BUG] Using AzureOpenAI provider does not show token usage/price HOT 2
- [FEAT] ARES integration possible? HOT 2
- [BUG] Inconsistent results between records variable values and dashboard/leaderboard values HOT 7
- [BUG] v0.20.3 of trulens-eval AzureOpenAI object has no attribute 'generate_score' HOT 2
- Deploy Trulens with FastAPI HOT 5
- from trulens_eval.feedback import Groundedness Not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trulens.