A Beginners Guide to Building a RAG App Using Open Source Milvus
Gert Vanthienen Presentation
1. ServiceMix 4 Make the container match the project Gert Vanthienen r&d engineer anova r&d bvba [email_address]
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17. Karaf: Command Shell Install, start and list OSGi bundles karaf@root> osgi:install file:/Users/gert/restaurant-1.0.jar Bundle ID: 30 karaf@root> osgi:start 30 karaf@root> osgi:install -s mvn:org.tssjs.smx4/mexican/1.0 Bundle ID: 31 karaf@root> osgi:list | grep TSSJS [ 30] [Active ] [ ] [ 60] TSSJS :: Restaurant (1.0) [ 31] [Active ] [ ] [ 60] TSSJS :: Kitchen :: Mexican (1.0) Logging karaf@root> log:get Level: INFO karaf@root> log:set DEBUG karaf@root> log:display Change settings through the OSGi ConfigAdmin karaf@root> config:edit org.apache.felix.karaf.shell.ssh karaf@root> config:propset sshPort 8100 karaf@root> config:update … and these are just a few examples
18.
19. Karaf: Feature descriptors <? xml version = "1.0" encoding = "UTF-8" ?> < features name = "karaf-1.1.0-SNAPSHOT" > < feature name = "http" version = "1.1.0-SNAPSHOT" > < config name = "org.ops4j.pax.web" > org.osgi.service.http.port=8181 </ config > <!-- snip --> < bundle > mvn:org.ops4j.pax.web/pax-web-bundle/0.6.0 </ bundle > </ feature > < feature name = "webconsole" version = "1.1.0-SNAPSHOT" > < feature version = "1.1.0-SNAPSHOT" > http </ feature > <!-- snip --> < bundle > mvn:org.apache.felix/org.apache.felix.webconsole/1.2.10 </ bundle > </ feature > </ features >
20.
21.
22.
23.
24.
25.
26.
27. Karaf: Admin commands Create a test instance running the http service karaf@root> admin:create test Creating new instance on port 8102 at ... karaf@root> admin:start test karaf@root> admin:connect test Connecting to host localhost on port 8102 Connected karaf@test> features:install http karaf@test> ^D karaf@root> admin:list Port State Pid Name [ 8102] [Started ] [ 1000] test karaf@root> admin:stop test karaf@root> admin:destroy test