Kahit sa Chinese/Indian laws merong gumawa na nyan sa github using generative AI last year using GPT/LLM. Pero kahit di pa uso yang GPT at LLM, meron na ngang website which acts as an AI to ask legal questions 6 years ago. I'm sure meron sa Pilipinas na similar pero may bayad, at kalimitan ay aktwal na tao yung sasagot he he.
Maraming projects sa github na pwede ninyong umpisahan to act as ai legal counsel, ai lawyer, ai for education about laws, etc. They use the same method in training AI to a certain branch of knowledge from general to specialized information like cooking cuisine (chinese, pinoy delicacies/recipes, etc.) at tulad niyan eksperto sa batas ng Pilipinas. you just need data.
Kung gusto ninyong gumawa ng AI with specialized knowledge para dyan, kumuha kayo ng LLM UI na kayang mag-store ng malalaking mga documents (law cases, law books, local laws, international laws, etc.) via datasets tapos create them as knowledgebase stored as a database or in memory kung gusto ninyong ipasok sa local AI, or as an external storage using online LLM. Then your preferred LLM will pick the data for you based on your input tasks (via prompts). Matagal gawin yan at malaking hardware ang kailangan pati training and storage of data, depende sa kakayahan ng mga LLM na gamit ninyo in getting the specific info to respond, pero it is doable. (Check nyo na lang yung threads ko sa AI at maraming UI na ganyan which you can run locally or deployed in the cloud. Kayo na lang mag-input ng data na supported ng UI (json, csv, doc, pdf...) Sa storage lang ang limitation if run locally, pero sa cloud, you may need to pay to increase the storage. Similar yan sa advanced AI interfaces in Chatting with large documents.
Nag-scan ako sandali sa github. Check ninyo ito:
Pang-Pilipinas daw yan. Pero di ko pa na-test yung github app locally. Lumang code na kasi yan na 1-yr. Yung
demo link nya, wala akong nakitang relation sa
betterlegal code, kaya ang ginamit kong setting yung
"Custom" just for curiosity
. Ayos naman sumagot nang tinanong ko tungkol sa Philippine constitution he he.
Gamitan ninyo ng attachments, might help in any Philippine law related requests.
Ang maganda dyan, pwedeng gumamit ng customized API keys (reversed engineered apis) na gamit ko. So you still need an api to use it or if you have a working local AI. Ito yung supported models dyan. Meron din yan option to use Google Search pero you need GCP API key and Google GSE ID.
It just proves that the github code is still usable to deploy locally.
Pero ang tingin ko dyan is just a regular chatbot UI but with an LLM like OpenAI + memory data store via REDIS. Test nyo na lang yung
at gumagana naman siya. Baka sakaling makatulong.
Pag may nakita akong kamukha nito , i-post ko na lang.