[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: ChatGPT front-end to XML?

Subject: Re: ChatGPT front-end to XML?
From: "Martynas Jusevičius martynas@xxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Dec 2024 10:23:02 -0000
Re:  ChatGPT front-end to XML?
You are describing RAG here (Retrieval-Augmented Generation).

The most promising approach is hybrid RAG IMO, which combines:
- LLM-generated structured queries (in this case probably XQuery) that
would be able to give exact answers to questions like "What airport
has the longest runway?"
- vector similarity search over embedded documents (for example by
embedding the XML documents using OpenAI embedding models) which would
enable answers to questions like "what are the airports that are
hardest to land in"?

The LLM acting as agent would orchestrate those "tools" and "join"
their answers. You could ask hybrid questions such as "Are airports
with long runways hard to land in"?
My examples might not be the best, I came up with them on the spot :)

I have done quite promising PoC using RDF and SPARQL, not XML.
https://www.ontotext.com/knowledgehub/fundamentals/what-is-graph-rag/

On Thu, Dec 26, 2024 at 12:32b/AM Roger L Costello costello@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Hi Folks,
>
> I have an XML document containing data about all the airports in the world.
>
> I want to put a ChatGPT front-end to the XML document, so that users can ask
questions about its data, such as, "What airport has the longest runway?" or
"Please provide a list of civilian airports in France."
>
> Have you put a ChatGPT front-end to an XML document? What lessons did you
learn?
>
> /Roger

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.