wyona / katie-backend

Katie Backend
https://katie.qa
Apache License 2.0
27 stars 2 forks source link

Feature Request: Integrate Apache Solr #14

Open michaelwechner opened 7 months ago

michaelwechner commented 7 months ago

See https://solr.apache.org/guide/8_1/json-request-api.html

We could either write a connector, similar to

https://github.com/wyona/katie-backend/blob/main/src/main/java/com/wyona/katie/connectors/WeaviateSiteSearchConnector.java

or a question / answer handler, similar to

https://github.com/wyona/katie-backend/blob/main/src/main/java/com/wyona/katie/handlers/AzureAISearchImpl.java

michaelwechner commented 7 months ago

https://solr.apache.org/guide/8_2/json-request-api.html

curl http://localhost:8983/solr/INDEX_NAME/query -d '{"query" : "good recipe for lasagne"}'

michaelwechner commented 7 months ago

It might make sense to use the Apache Solr Java client library https://solr.apache.org/guide/8_1/using-solrj.html

michaelwechner commented 7 months ago

One can now query Apache Solr using the Third Party RAG connector

https://app.katie.qa/swagger-ui/#/domain-controller/addKnowledgeSourceThirdPartyRAGUsingPOST

michaelwechner commented 7 months ago

JSON Pointer for reference node implemented

michaelwechner commented 5 months ago

Consider developing a dedicated connector similar to

https://github.com/wyona/katie-backend/tree/main/src/main/java/com/wyona/katie/connectors