8
LLM Inferences for Legal References?
(lemm.ee)
A community for respectful discussion and memes related to autism acceptance. All neurotypes are welcome.
We have created our own instance! Visit Autism Place the following community for more info.
Community:
Values
Rules
Encouraged
.
Helpful Resources
I know nothing about “in context learning” or legal stuff, but intuitively, don’t legal documents tend to reference each other, especially the more complicated ones? If so, how would you apply in context learning if you’re not aware which ones may be relevant?
Yes, you can craft your prompt in such a way that if the llm doesn’t know about a referenced legal document it will ask for it, so you can then paste the relevant section of that document into the prompt to provide it with that information.
I’d encourage you to look up some info on prompting LLMs and LLM context.
They’re powerful tools, so it’s good to really learn how to use them, especially for important applications like legalese translators and rent negotiators.
thanks for your answer! Is this same or different from indexing to provide context? I saw some people ingesting large corpus of documents/structured data, like with LlamaIndex. Is it an alternative way to provide context or similar?
Indexing and tools like llamaindex use LLM generated embeddings to “intelligently” search for similar documents to a search query.
Those documents are usually fed into an LLM as part of the prompt (eg. context)