Comments (3)
Hi @adorosario, Shahul from Ragas here. Not sure If I understand your concern currently. But the context
in ragas refers to retrieved context. Ragas metrics (that require context like faithfulness) can only be used with this information being available.
from bootcamp.
@adorosario thanks for your advice. As far as I know, openai provides context: https://platform.openai.com/docs/assistants/how-it-works/message-annotations
so it seem not a black box RAG agent.
from bootcamp.
@adorosario thanks for your advice. As far as I know, openai provides context: https://platform.openai.com/docs/assistants/how-it-works/message-annotations so it seem not a black box RAG agent.
Sorry - I think you might be mis-understanding the difference between "annotations" and "context".
Context is the (possibly) thousands of tokens/words from the knowledge base that is used to create the response. For example, in our RAG platform, we could technically use tens of thousands of words of context (think of it as 20-30 pages) to create the response. This CONTEXT is never shown to the client in a black-box RAG service like OpenAI assistants or CustomGPT.ai
Annotations are tiny snippets of text from the knowledge base that were used to construct the answer .. they are typically about 10% (if at all) of the context that was used.
Using them interchangeably in a black-box RAG would be wrong and skew your benchmarks.
Shahul from Ragas here. Not sure If I understand your concern currently. But the context in ragas refers to retrieved context. Ragas metrics (that require context like faithfulness) can only be used with this information being available.
Shahul -- yes - in a black box RAG service like OpenAI assistants or CustomGPT.ai, the retrieved CONTEXT is never available to the client -- so any benchmark metric that involves retrieved CONTEXT cannot be computed (which ragas does correctly). Using annotations and context interchangeably to compute any metric like faithfulness would be wrong - that is the reason for raising this issue.
from bootcamp.
Related Issues (20)
- [BUG]: This file 'video_similarity_search/quick_deploy/README.md' has an command error,'docker logs text-search-webserver' should be 'docker logs video-webserver'. HOT 1
- [FEATURE]: text_search_engine/quick_deploy /docker-compose.yaml HOT 1
- [FEATURE]: Add LLM Related Notebooks
- README for submitting an issue
- question_answering_system/server connect milvus timeout HOT 1
- [BUG]: argument of type 'WindowsPath' is not iterable HOT 4
- 在 图片检索demo中,为什么用另外做个mysql来存储图片路径呢
- [BUG]: wechat group image can not ues
- Columns and DataType Not Explicitly Set on line 13 of load.py
- [BUG]: reverse_image_search图片多了就不能写入数据库 HOT 1
- 启动报错 是网络问题吗 HOT 1
- [BUG]: Error in chunking document in RAG demo "In[8]" HOT 4
- [BUG]: Error in chunking document in RAG demo "In[7]" HOT 1
- def test_connection(self): try: self.conn.ping() except Exception: self.conn = pymysql.connect(host=MYSQL_HOST, user=MYSQL_USER, port=MYSQL_PORT, password=MYSQL_PWD, database=MYSQL_DB,local_infile=True) self.cursor = self.conn.cursor()[FEATURE]: HOT 3
- [BUG]: 如何支持中文 HOT 3
- 这个仓库历史上已经有了3版本图搜图的代码,哪个版本的效果会好点,区别是什么? HOT 6
- [BUG]: ModuleNotFoundError: No module named 'milvus_utilities' HOT 1
- [BUG]: 'SequenceIterator' object is not iterable in file recommender_system.ipynb
- [BUG]: Logic error on the last batch insert in file recommender_system.ipynb
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 bootcamp.