wyona / katie-backend

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

Feature Request: Integrate Apache Solr #14

Open michaelwechner opened 9 months ago

michaelwechner commented 9 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 9 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 9 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 8 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 8 months ago

JSON Pointer for reference node implemented

michaelwechner commented 6 months ago

Consider developing a dedicated connector similar to

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