Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
sai-Rohan
/
Legora
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
Legora
/
LegalRag
/
usage.py
sai-Rohan
added llm layer
6064cea
about 2 months ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
157 Bytes
from
LegalRag.rag_pipeline
import
RAGPipeline
rag = RAGPipeline()
result = rag.search(
"Can police arrest without warrant?"
)
print
(result[
"answer"
])