Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
36
36
embedding
list
document
stringlengths
10
999
metadata
stringlengths
642
703
c543168a-b7c9-4a1c-b55f-cdea1b445f77
[ 0.04295473173260689, 0.03683968633413315, -0.005364888813346624, -0.04598332941532135, 0.0014610749203711748, 0.0018424411537125707, 0.0030135803390294313, -0.03672662377357483, 0.0319160595536232, -0.04077572375535965, 0.05834323167800903, 0.10632609575986862, 0.03827605023980141, -0.0446...
Business Ethics SENIOR CONTRIBUTING AUTHORS STEPHEN M. BYARS, USC MARSHALL SCHOOL OF BUSINESS KURT STANBERRY, UNIVERSITY OF HOUSTON-DOWNTOWN OpenStax Rice University 6100 Main Street MS-375 Houston, Texas 77005 To learn more about OpenStax, visit https://openstax.org. Individual print copies and bulk orders ...
{"moddate": "2020-08-05T15:47:19-05:00", "creator": "DocBook XSL Stylesheets V1.79.1", "batch_upload": true, "total_pages": 377, "title": "Business Ethics", "file_name": "BusinessEthics-OP.pdf", "producer": "Prince 11 (www.princexml.com)", "uploaded_via": "batch_uploader", "file_type": ".pdf", "upload_timestamp": "2026...
16d7f9c0-8476-4f3b-87c3-9a5e879812a7
[ -0.022081276401877403, 0.014129708521068096, -0.09953635185956955, -0.030613671988248825, 0.06979336589574814, 0.014473401010036469, -0.04864315688610077, -0.05928933620452881, 0.04344816878437996, 0.015550716780126095, 0.05907382443547249, 0.12187902629375458, 0.041247159242630005, -0.057...
- - - - If you redistribute this textbook in a digital format (including but not limited to PDF and HTML), then you must retain on every page the following attribution: “Download for free at https://openstax.org/details/books/business-ethics.” If you redistribute this textbook in a print format, then you must inclu...
{"source": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "total_pages": 377, "uploaded_via": "batch_uploader", "file_size_mb": 44.59, "file_hash": "3a73f4b5941a07b86a468268f1eaa39476455580d8134b779b9aec0361af6401", "source_file": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "creator": "...
a59dcf31-f3a7-462f-9e5b-f37535349ddc
[ 0.015185254625976086, -0.011763161979615688, 0.025895142927765846, -0.06444776803255081, 0.008423306047916412, -0.022080715745687485, -0.018914800137281418, -0.044254668056964874, -0.03564268723130226, -0.018069125711917877, 0.054383765906095505, 0.057155925780534744, 0.06923994421958923, ...
For questions regarding this licensing, please contact support@openstax.org. Trademarks The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, OpenStax CNX logo, OpenStax Tutor name, Openstax Tutor logo, Connexions name, Connexions logo, Rice University name, and Rice University logo are not su...
{"total_pages": 377, "file_name": "BusinessEthics-OP.pdf", "producer": "Prince 11 (www.princexml.com)", "uploaded_via": "batch_uploader", "creationdate": "2018-09-21T10:38:43-05:00", "batch_upload": true, "source": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "creator": "DocBook XSL Stylesheets V1.79.1...
465abfb8-5b56-4fd1-83f2-2b1a428fd92d
[ 0.024648046121001244, -0.058438338339328766, 0.06342694908380508, 0.021994706243276596, 0.002639040118083358, -0.07957660406827927, -0.01769174076616764, -0.025598837062716484, -0.028249921277165413, 0.028683016076683998, 0.12459854781627655, 0.02318411134183407, 0.046216849237680435, -0.0...
PRINT BOOK ISBN-10 PRINT BOOK ISBN-13 PDF VERSION ISBN-10 PDF VERSION ISBN-13 10 9 8 7 6 5 4 3 2 1 1-947172-56-5 978-1-947172-56-2 1-947172-57-3 978-1-947172-57-9 OPENSTAX OpenStax provides free, peer-reviewed, openly licensed textbooks for introductory college and Advanced Placement® courses an...
{"source": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "moddate": "2020-08-05T15:47:19-05:00", "creationdate": "2018-09-21T10:38:43-05:00", "creator": "DocBook XSL Stylesheets V1.79.1", "file_name": "BusinessEthics-OP.pdf", "file_size_mb": 44.59, "upload_timestamp": "2026-02-07T14:15:02.747000", "uplo...
863b5f65-b643-4d2c-8d68-bba92cd47fc2
[ 0.034228600561618805, -0.10073001682758331, 0.020937908440828323, -0.009925639256834984, 0.06012692674994469, -0.03110234998166561, -0.05390810966491699, -0.02377033419907093, 0.0007476576138287783, 0.015077774412930012, 0.1131572350859642, 0.014461876824498177, -0.012090451084077358, 0.00...
RICE UNIVERSITY OpenStax, OpenStax CNX, and OpenStax Tutor are initiatives of Rice University. As a leading research university with a distinctive commitment to undergraduate education, Rice University aspires to path-breaking research, unsurpassed teaching, and contributions to the betterment ...
{"moddate": "2020-08-05T15:47:19-05:00", "file_type": ".pdf", "uploaded_via": "batch_uploader", "producer": "Prince 11 (www.princexml.com)", "upload_timestamp": "2026-02-07T14:15:02.747000", "creationdate": "2018-09-21T10:38:43-05:00", "source_file": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "file_h...
79348beb-9a25-48b6-b11d-2876c25b6b5e
[ -0.030782459303736687, 0.025468075647950172, -0.06236162409186363, 0.015414041467010975, 0.06877359747886658, 0.02548627182841301, -0.07104472815990448, -0.022501680999994278, 0.019243890419602394, 0.046698808670043945, 0.03394748643040657, 0.12443427741527557, -0.09142042696475983, -0.051...
Ann and John Doerr Michelson 20MM Foundation Bill & Melinda Gates Foundation National Science Foundation Girard Foundation Google Inc. The Open Society Foundations Jumee Yhu and David E. Park III The William and Flora Hewlett Foundation Brian D. Patterson USA-International Foundation Rusty and John...
{"source_file": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "file_size_mb": 44.59, "producer": "Prince 11 (www.princexml.com)", "creator": "DocBook XSL Stylesheets V1.79.1", "title": "Business Ethics", "moddate": "2020-08-05T15:47:19-05:00", "uploaded_via": "batch_uploader", "batch_upload": true, "fil...
96512be8-5844-4a57-9080-5acbe022ffd1
[ 0.019769886508584023, 0.07672226428985596, -0.04550441727042198, -0.051592789590358734, -0.039985958486795425, -0.02811073139309883, -0.03771599754691124, -0.03445703908801079, 0.010911941528320312, 0.041374437510967255, 0.028315365314483643, 0.03669040650129318, -0.04552551731467247, -0.0...
Access. The future of education. openstax.org TABLE OF CONTENTS Preface 1 1 Why Ethics Matter 7 1.1 Being a Professional of Integrity 1.2 Ethics and Profitability 1.3 Multiple versus Single Ethical Standards 13 8 20 2 Ethics from Antiquity to the Present 27 2.1 The Concept of Ethical Business in Ancient Athen...
{"file_name": "BusinessEthics-OP.pdf", "title": "Business Ethics", "source": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "producer": "Prince 11 (www.princexml.com)", "creator": "DocBook XSL Stylesheets V1.79.1", "creationdate": "2018-09-21T10:38:43-05:00", "total_pages": 377, "uploaded_via": "batch_up...
d389f893-aa30-4fb8-9fd2-dde145805774
[ 0.02264486253261566, 0.020231565460562706, -0.02582978829741478, -0.02408352866768837, 0.0024995252024382353, 0.055508218705654144, -0.027849160134792328, -0.062078025192022324, -0.00894850306212902, -0.06334272027015686, -0.010505636222660542, 0.008658083155751228, -0.04898122325539589, -...
72 83 68 78 4 Three Special Stakeholders: Society, the Environment, and Government 93 4.1 Corporate Law and Corporate Responsibility 4.2 Sustainability: Business and the Environment 4.3 Government and the Private Sector 117 94 103 5 The Impact of Culture and Time on Business Ethics 131 5.1 The Relationship ...
{"total_pages": 377, "file_type": ".pdf", "title": "Business Ethics", "source_file": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "creator": "DocBook XSL Stylesheets V1.79.1", "file_hash": "3a73f4b5941a07b86a468268f1eaa39476455580d8134b779b9aec0361af6401", "creationdate": "2018-09-21T10:38:43-05:00", "...
b0deeaad-4cc4-4ffb-9c77-7686b5c5ab6d
[ -0.009608535096049309, -0.016643214970827103, -0.0339280441403389, -0.00830975454300642, 0.016943542286753654, 0.06600254774093628, -0.047754134982824326, -0.0802382156252861, -0.014096418395638466, -0.03250948712229729, 0.0008619157015345991, 0.11419586837291718, -0.04664982855319977, -0....
212 207 218 8 Recognizing and Respecting the Rights of All 231 8.1 Diversity and Inclusion in the Workforce 232 8.2 Accommodating Different Abilities and Faiths 8.3 Sexual Identification and Orientation 8.4 Income Inequalities 8.5 Animal Rights and the Implications for Business 244 247 239 252 9 Professions un...
{"upload_timestamp": "2026-02-07T14:15:02.747000", "file_type": ".pdf", "source_file": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "title": "Business Ethics", "batch_upload": true, "source": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "creator": "DocBook XSL Stylesheets V1.79.1", "pr...
bae55862-fec0-4e9d-8db3-4b6bb6787a3d
[ 0.011823917739093304, 0.05746271461248398, -0.048352256417274475, -0.059657540172338486, 0.01564503274857998, -0.014944592490792274, 0.0006937538855709136, -0.0538269467651844, 0.016442375257611275, 0.0359722375869751, 0.05014196038246155, 0.13720154762268066, -0.006754255387932062, -0.038...
11.1 Business Ethics in an Evolving Environment 11.2 Committing to an Ethical View 329 11.3 Becoming an Ethical Professional 11.4 Making a Difference in the Business World 332 326 336 A The Lives of Ethical Philosophers 341 This OpenStax book is available for free at http://cnx.org/content/col25722/1.3 B Profiles...
{"source_file": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "file_hash": "3a73f4b5941a07b86a468268f1eaa39476455580d8134b779b9aec0361af6401", "moddate": "2020-08-05T15:47:19-05:00", "file_size_mb": 44.59, "batch_upload": true, "source": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "cre...
4076bdf4-acab-478e-8c94-543b02dc7431
[ 0.017061665654182434, 0.03535084426403046, -0.0337403230369091, -0.039108749479055405, 0.058831602334976196, -0.015687396749854088, -0.00023639414575882256, -0.04243536293506622, 0.009745681658387184, 0.008604136295616627, 0.02301834337413311, 0.0838949978351593, 0.04944758862257004, 0.001...
About OpenStax OpenStax is a nonprofit based at Rice University, and it’s our mission to improve student access to education. Our first openly licensed college textbook was published in 2012, and our library has since scaled to over 25 books for college and AP® courses used by hundreds of thousands of students. OpenS...
{"upload_timestamp": "2026-02-07T14:15:02.747000", "file_name": "BusinessEthics-OP.pdf", "total_pages": 377, "source_file": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "source": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "creationdate": "2018-09-21T10:38:43-05:00", "title": "Busines...
97fb4c75-5a3f-4c45-9c5b-d87d65c4926c
[ 0.021791422739624977, 0.010291568003594875, -0.04069232568144798, -0.03916937857866287, 0.024648932740092278, 0.003223403124138713, -0.016728224232792854, -0.056242235004901886, 0.015369970351457596, 0.010102983564138412, 0.051165621727705, 0.11000680923461914, 0.03454593941569328, -0.0808...
means that you can distribute, remix, and build upon the content, as long as you provide attribution to OpenStax and its content contributors. Because our books are openly licensed, you are free to use the entire book or pick and choose the sections that are most relevant to the needs of your course. Feel free to re...
{"file_type": ".pdf", "title": "Business Ethics", "upload_timestamp": "2026-02-07T14:15:02.747000", "uploaded_via": "batch_uploader", "producer": "Prince 11 (www.princexml.com)", "file_hash": "3a73f4b5941a07b86a468268f1eaa39476455580d8134b779b9aec0361af6401", "file_size_mb": 44.59, "moddate": "2020-08-05T15:47:19-05:00...
935c2863-f0fb-4d10-b5fb-8176944cb554
[ -0.0266695749014616, 0.0423516146838665, -0.04717535525560379, -0.037566445767879486, 0.06122608482837677, 0.020280621945858, -0.007654312066733837, -0.06487584114074707, 0.05211399495601654, -0.02491077221930027, 0.033103376626968384, 0.11732784658670425, 0.03433636575937271, -0.034036312...
Art attribution in Business Ethics In Business Ethics, most art contains attribution to its title, creator or rights holder, host platform, and license within the caption. Because the art is openly licensed, anyone may reuse the art as long as they provide the same attribution to its original source. To maximize re...
{"title": "Business Ethics", "producer": "Prince 11 (www.princexml.com)", "file_name": "BusinessEthics-OP.pdf", "batch_upload": true, "creator": "DocBook XSL Stylesheets V1.79.1", "file_hash": "3a73f4b5941a07b86a468268f1eaa39476455580d8134b779b9aec0361af6401", "file_size_mb": 44.59, "upload_timestamp": "2026-02-07T14:1...
df52acde-970f-44e3-b59f-da4323c6f592
[ 0.008791287429630756, 0.0676698163151741, -0.010952847078442574, -0.07992906123399734, -0.025027118623256683, 0.006680394522845745, -0.03060012310743332, -0.038843948394060135, -0.03475024551153183, 0.03496057912707329, 0.050184525549411774, 0.12368308007717133, -0.007958196103572845, -0.0...
pedagogically necessary. If you have a correction to suggest, submit it through the link on your book page on openstax.org. Subject matter experts review all errata suggestions. OpenStax is committed to remaining transparent about all updates, so you will also find a list of past errata changes on your book page on ...
{"creator": "DocBook XSL Stylesheets V1.79.1", "total_pages": 377, "file_size_mb": 44.59, "uploaded_via": "batch_uploader", "file_hash": "3a73f4b5941a07b86a468268f1eaa39476455580d8134b779b9aec0361af6401", "file_name": "BusinessEthics-OP.pdf", "producer": "Prince 11 (www.princexml.com)", "file_type": ".pdf", "title": "B...
886cd58f-a7ab-45fb-b64b-8ca116067d2c
[ -0.005916109774261713, 0.057504311203956604, -0.03040694259107113, -0.08908164501190186, -0.05286506935954094, -0.00533253001049161, 0.027990801259875298, -0.020971087738871574, 0.03470149263739586, 0.02030051313340664, 0.02519354410469532, 0.10579144209623337, -0.04601573571562767, -0.073...
which help instill in students a sense of ethical awareness and responsibility. The book provides an important opportunity for students to learn the core concepts of business ethics and understand how to apply those concepts to their professional lives. Coverage and scope Our Business Ethics textbook adheres to the...
{"moddate": "2020-08-05T15:47:19-05:00", "file_size_mb": 44.59, "upload_timestamp": "2026-02-07T14:15:02.747000", "file_type": ".pdf", "creationdate": "2018-09-21T10:38:43-05:00", "batch_upload": true, "source_file": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "creator": "DocBook XSL Stylesheets V1.79...
e5ffc37d-ab9a-422e-a336-7913e930c19c
[ 0.023606205359101295, 0.07289137691259384, -0.06616724282503128, -0.08859363198280334, -0.08829329907894135, 0.001762844156473875, 0.0005882090190425515, -0.06229318678379059, 0.039623841643333435, 0.0774843692779541, 0.03440180420875549, 0.07186124473810196, -0.06433219462633133, -0.02077...
their graduation. We particularly emphasize the reality of today’s global business community and observe that geography, culture, and time contribute to ethical concepts and constructs. With awareness of these issues in mind, the content of this textbook has been developed and arranged to emphasize the necessity—and ...
{"producer": "Prince 11 (www.princexml.com)", "moddate": "2020-08-05T15:47:19-05:00", "batch_upload": true, "creationdate": "2018-09-21T10:38:43-05:00", "file_name": "BusinessEthics-OP.pdf", "total_pages": 377, "file_type": ".pdf", "uploaded_via": "batch_uploader", "file_hash": "3a73f4b5941a07b86a468268f1eaa39476455580...
16b0b4c9-7262-40e9-85a2-dbff214f0eaf
[ 0.0035800549667328596, 0.06818448007106781, -0.022418152540922165, -0.1074303463101387, 0.020232651382684708, 0.008778336457908154, 0.037012211978435516, 0.02964291162788868, -0.0005053122877143323, 0.023534467443823814, 0.01674201525747776, 0.06431247293949127, -0.043897103518247604, 0.00...
Engaging feature boxes Throughout Business Ethics, you will find features that engage students by taking selected topics a step further. Each feature box contains either a link to a deeper exploration of the topic at hand or critical thinking questions that may be geared toward class discussion, student projects, or...
{"file_hash": "3a73f4b5941a07b86a468268f1eaa39476455580d8134b779b9aec0361af6401", "uploaded_via": "batch_uploader", "batch_upload": true, "file_type": ".pdf", "total_pages": 377, "source_file": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "creator": "DocBook XSL Stylesheets V1.79.1", "creationdate": "2...
07126280-8f96-4279-beb8-cb4ca28c3a1a
[ 0.0588795430958271, 0.08701860159635544, -0.026780126616358757, -0.11102358996868134, -0.05020914599299431, 0.005648945923894644, 0.0029310474637895823, -0.012428590096533298, 0.045693814754486084, 0.0591997392475605, 0.025680020451545715, 0.10115057975053787, -0.03488565981388092, 0.00304...
to put themselves into the shoes of ranking executives and balance a host of interests—some conflicting—as they make decisions for their businesses. Students provide an answer to a practical problem or ethical issue, as well as their reasoning. • Ethics across Time and Cultures. This feature considers how geography,...
{"creationdate": "2018-09-21T10:38:43-05:00", "file_size_mb": 44.59, "file_hash": "3a73f4b5941a07b86a468268f1eaa39476455580d8134b779b9aec0361af6401", "file_type": ".pdf", "title": "Business Ethics", "file_name": "BusinessEthics-OP.pdf", "moddate": "2020-08-05T15:47:19-05:00", "total_pages": 377, "producer": "Prince 11 ...
988ab374-0934-47c9-80b2-3b01f790acb6
[ 0.012928341515362263, 0.08744809776544571, -0.0933699682354927, -0.07268619537353516, -0.044423140585422516, -0.016019809991121292, 0.047373563051223755, -0.019515585154294968, -0.006339651066809893, 0.07318712025880814, 0.04877015948295593, 0.10084754228591919, 0.016216197982430458, -0.00...
easily to some of the most important thought leaders and concepts in the field of business ethics. The This OpenStax book is available for free at http://cnx.org/content/col25722/1.3 Preface 3 purpose is to highlight the complexities of ethical decision-making. Module materials that reinforce key concepts • Learn...
{"batch_upload": true, "uploaded_via": "batch_uploader", "producer": "Prince 11 (www.princexml.com)", "upload_timestamp": "2026-02-07T14:15:02.747000", "source_file": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "creationdate": "2018-09-21T10:38:43-05:00", "file_name": "BusinessEthics-OP.pdf", "title":...
746d50f1-1922-44d5-95d3-ccd352b25b54
[ 0.04255865886807442, -0.02378799580037594, -0.03297308087348938, 0.030897991731762886, 0.036757078021764755, -0.029962820932269096, 0.03397258743643761, 0.016974827274680138, -0.054654430598020554, 0.027820158749818802, 0.016358936205506325, 0.04056788980960846, 0.08321578055620193, -0.032...
down to key, concise points addressed in the section. • Key Terms. Key terms are bold and are followed by a definition in context. Definitions of key terms are also listed in the glossary, which appears at the end of the chapter. • Assessments. Multiple-choice and short-answer review questions provide opportunities ...
{"total_pages": 377, "title": "Business Ethics", "batch_upload": true, "source": "downloads\\business\\legal_business\\BusinessEthics-OP.pdf", "creationdate": "2018-09-21T10:38:43-05:00", "file_size_mb": 44.59, "upload_timestamp": "2026-02-07T14:15:02.747000", "producer": "Prince 11 (www.princexml.com)", "file_hash": "...
End of preview. Expand in Data Studio

Vectorstore Dataset: Legal Business

Overview

This dataset contains pre-computed vector embeddings for the legal business domain, ready for use in Retrieval-Augmented Generation (RAG) applications, semantic search, and knowledge base systems. The embeddings are generated from high-quality source documents using state-of-the-art sentence transformers, making it easy to build production-ready RAG applications without the computational overhead of embedding generation.

What This Knowledge Base Covers

This knowledge base covers legal and business law topics including intellectual property, contracts, trademarks, patents, copyrights, and corporate compliance. It includes materials on IP fundamentals, business entity structures, and regulatory requirements. Use it to answer questions about legal terminology, IP protection, contract basics, and business law principles.

Key Features

  • Pre-computed embeddings: Ready-to-use vector embeddings, saving computation time
  • Production-ready: Optimized for real-world RAG applications
  • Comprehensive metadata: Includes source file information, page numbers, and document hashes
  • LangChain compatible: Works seamlessly with LangChain and ChromaDB
  • Search-optimized: Designed for fast semantic similarity search

What's Included

This dataset contains 4,498 text chunks from 3 source documents, each pre-embedded using the sentence-transformers/all-MiniLM-L6-v2 model. Each chunk includes:

  • Text content: The original document text
  • Embedding vector: 384-dimensional float32 vector
  • Rich metadata: Source file, page numbers, document hash, and more

Dataset Details

Dataset Summary

  • Domain: legal_business
  • Total Chunks: 4,498
  • Total Documents: 3
  • Database Size: 59.42 MB (8 files)
  • Embedding Model: sentence-transformers/all-MiniLM-L6-v2
  • Chunk Size: 1000
  • Chunk Overlap: 200

Dataset Structure

The dataset contains the following columns:

  • id: Unique identifier for each chunk
  • embedding: Vector embedding (numpy array, dtype=float32)
  • document: Original text content of the chunk
  • metadata: JSON string containing metadata (file_name, file_hash, page_number, etc.)

Embedding Model

This dataset uses embeddings from: sentence-transformers/all-MiniLM-L6-v2

Usage

Loading the Dataset

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("meetara-lab/vectorstore-legal_business")

# Access the data
print(dataset["train"][0])
# Output:
# {
#     'id': '...',
#     'embedding': array([...], dtype=float32),
#     'document': '...',
#     'metadata': '{"file_name": "...", "page": 1, ...}'
# }

Loading Back into ChromaDB

from langchain_chroma import Chroma
from langchain_huggingface import HuggingFaceEmbeddings
from datasets import load_dataset
import json

# Load dataset
dataset = load_dataset("meetara-lab/vectorstore-legal_business")["train"]

# Initialize ChromaDB
embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
vectorstore = Chroma(
    persist_directory="./chroma_legal_business",
    embedding_function=embeddings
)

# Add documents to ChromaDB
documents = []
metadatas = []
ids = []
embeddings_list = []

for item in dataset:
    ids.append(item["id"])
    embeddings_list.append(item["embedding"].tolist())
    documents.append(item["document"])
    metadatas.append(json.loads(item["metadata"]))

# Note: You'll need to use ChromaDB's Python client directly for custom embeddings
import chromadb
client = chromadb.PersistentClient(path="./chroma_legal_business")
collection = client.create_collection(name="legal_business")

collection.add(
    ids=ids,
    embeddings=embeddings_list,
    documents=documents,
    metadatas=metadatas
)

Using with LangChain

from langchain_chroma import Chroma
from langchain_huggingface import HuggingFaceEmbeddings

# Initialize retriever
embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
vectorstore = Chroma(
    persist_directory="./chroma_legal_business",
    embedding_function=embeddings
)

# Load from HF Hub first (see above), then use with LangChain
retriever = vectorstore.as_retriever()
results = retriever.invoke("your query here")

Domain-Specific Usage Examples

This vectorstore is optimized for Legal Business domain queries. Here are practical examples:

Example Queries

from langchain_chroma import Chroma
from langchain_huggingface import HuggingFaceEmbeddings

# Load vectorstore (see "Loading Back into ChromaDB" above)
embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
vectorstore = Chroma(
    persist_directory="./chroma_legal_business",
    embedding_function=embeddings
)
retriever = vectorstore.as_retriever(search_kwargs={"k": 3})

# Example queries for legal business domain:
example_queries = [
    "What is intellectual property and how is it protected?",
    "Explain the difference between trademarks and copyrights",
    "What are the requirements for a valid contract?",
    "How do patents work and what can be patented?",
    "What are the types of business entities?"
]

# Run a query
query = "What is intellectual property and how is it protected?"
results = retriever.invoke(query)

# Display results
for i, doc in enumerate(results, 1):
    print(f"\nResult {i}:")
    print(f"  Source: {doc.metadata.get('file_name', 'Unknown')}")
    print(f"  Page: {doc.metadata.get('page', 'N/A')}")
    print(f"  Content: {doc.page_content[:200]}...")

Common Use Cases

This dataset is useful for:

  • IP and legal concept lookup
  • Contract and compliance guidance
  • Trademark and patent information
  • Business law fundamentals
  • Regulatory requirements reference

Real-World Example

# Complete example: Query and use results
from langchain_chroma import Chroma
from langchain_huggingface import HuggingFaceEmbeddings

# 1. Initialize (after loading from HF Hub)
embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
vectorstore = Chroma(
    persist_directory="./chroma_legal_business",
    embedding_function=embeddings
)

# 2. Create retriever with relevance filtering
retriever = vectorstore.as_retriever(
    search_type="similarity",
    search_kwargs={
        "k": 5,  # Get top 5 most relevant results
        "score_threshold": 0.7  # Minimum similarity score
    }
)

# 3. Query the vectorstore
query = "Explain the difference between trademarks and copyrights"
docs = retriever.invoke(query)

# 4. Process results
for doc in docs:
    metadata = doc.metadata
    print(f"📄 File: {metadata.get('file_name', 'Unknown')}")
    print(f"📃 Page: {metadata.get('page', 'N/A')}")
    print(f"📝 Content: {doc.page_content[:300]}...\n")

Dataset Statistics

Content Statistics

  • Total Chunks: 4,498
  • Total Documents: 3
  • Average Chunks per Document: 1499.3
  • Database Size: 59.42 MB (8 files)

Technical Specifications

  • Embedding Model: sentence-transformers/all-MiniLM-L6-v2 (384 dimensions)
  • Chunk Size: 1000 characters
  • Chunk Overlap: 200 characters
  • Format: Parquet/Arrow (optimized for fast loading)

Performance Considerations

Loading Time

  • Full dataset loads in ~5-15 seconds on average hardware
  • Memory usage: ~6.6 MB for embeddings alone
  • Recommended RAM: 2GB+ for full dataset operations

Search Performance

  • Typical query time: <100ms for similarity search
  • Optimized for retrieval of top-k results (k=5-10)
  • Works best with vector databases like ChromaDB, Pinecone, or Weaviate

Citation

If you use this dataset, please cite:

@dataset{meetara_vectorstore_legal_business,
  title={meeTARA Vectorstore: Legal Business},
  author={meeTARA Lab},
  year={2024},
  url={https://huggingface.co/datasets/meetara-lab/vectorstore-legal_business}
}

Limitations and Considerations

  • Language: This dataset is monolingual (English only)
  • Domain specificity: Optimized for legal business domain queries
  • Embedding model: Uses sentence-transformers/all-MiniLM-L6-v2 - ensure compatibility if switching models
  • Update frequency: Dataset reflects state at time of publication; source documents may have been updated

Alternatives and Related Datasets

Looking for other domains? Check out the complete meeTARA Vectorstore collection:

Healthcare Domain

  • 🏥 meetara-lab/vectorstore-general_health - General Health (35,556 chunks)
  • 💊 meetara-lab/vectorstore-healthcare - Healthcare (Available)
  • 🧠 meetara-lab/vectorstore-mental_health - Mental Health (407 chunks)
  • 💊 meetara-lab/vectorstore-nutrition - Nutrition (1,165 chunks)
  • 💊 meetara-lab/vectorstore-senior_health - Senior Health (410 chunks)
  • 👩 meetara-lab/vectorstore-women_health - Women Health (318 chunks)

Education Domain

  • 📚 meetara-lab/vectorstore-academic_tutoring - Academic Tutoring (64,845 chunks)
  • 📚 meetara-lab/vectorstore-education - Education (Available)

Other Domains

  • 📁 meetara-lab/vectorstore-accounting - Accounting (4,838 chunks)
  • 📁 meetara-lab/vectorstore-ai_ml - Ai Ml (131 chunks)
  • 📁 meetara-lab/vectorstore-bipolar_disorder - Bipolar Disorder (65 chunks)
  • 📁 meetara-lab/vectorstore-chronic_conditions - Chronic Conditions (1,882 chunks)
  • 📁 meetara-lab/vectorstore-economics - Economics (2,195 chunks)
  • 📁 meetara-lab/vectorstore-emergency_care - Emergency Care (52 chunks)
  • 📁 meetara-lab/vectorstore-medication_management - Medication Management (161 chunks)
  • 📁 meetara-lab/vectorstore-parenting - Parenting (460 chunks)
  • 📁 meetara-lab/vectorstore-preventive_care - Preventive Care (253 chunks)
  • 📁 meetara-lab/vectorstore-programming - Programming (171 chunks)
  • 📁 meetara-lab/vectorstore-publish - Publish (Available)
  • 📁 meetara-lab/vectorstore-software_development - Software Development (82 chunks)
  • 📁 meetara-lab/vectorstore-space_technology - Space Technology (15 chunks)
  • 📁 meetara-lab/vectorstore-sports_recreation - Sports Recreation (Available)
  • 📁 meetara-lab/vectorstore-stress_management - Stress Management (26 chunks)
  • 📁 meetara-lab/vectorstore-tech_support - Tech Support (2,920 chunks)

🔗 View all meeTARA datasets: https://huggingface.co/meetara-lab

💡 Tip: Combine multiple domain datasets for comprehensive multi-domain RAG applications!

Maintenance and Updates

This dataset is maintained by the meeTARA Lab team.

  • Last Updated: 2026-02-07
  • Version: 1.0
  • Update Policy: Datasets are updated periodically as source documents are added or improved
  • Notifications: Follow the repository to receive updates when new versions are published

For updates, bug reports, or feature requests, please visit our GitHub repository.

License

This dataset is released under the Apache 2.0 License. This means you are free to:

  • Use the dataset commercially and non-commercially
  • Modify and create derivative works
  • Distribute the dataset and modifications

Please see the full license text for complete terms.

Citation

If you use this dataset in your research or applications, please cite it as:

@dataset{meetara_vectorstore_legal_business,
  title={meeTARA Vectorstore: Legal Business},
  author={meeTARA Lab},
  year={2024},
  url={https://huggingface.co/datasets/meetara-lab/vectorstore-legal_business},
  license={apache-2.0},
  task={feature-extraction, text-retrieval, rag}
}

Contact and Support

Contributing

We welcome contributions! If you'd like to:

  • 🐛 Report bugs
  • 💡 Suggest new domains
  • 📝 Improve documentation
  • 🔧 Contribute code

Please visit our GitHub repository.


Made with ❤️ by the meeTARA Lab team

Part of the meeTARA Vectorstore Collection - Empowering RAG applications with high-quality domain-specific embeddings.

Downloads last month
26