@@ -32,7 +32,7 @@ Keyword search in RAG scenarios is a lightweight and efficient retrieval method.
3232- Run ` kw-search-server `
3333
3434 ``` bash
35- # Run server on default port 9069
35+ # Run server on default port 12306
3636 ./kw-search-server
3737
3838 # Run server on custom port, e.g. 10086
@@ -53,9 +53,9 @@ Keyword search in RAG scenarios is a lightweight and efficient retrieval method.
5353 --download-url-prefix < DOWNLOAD_URL_PREFIX>
5454 Download URL prefix, format: ` http(s)://{IPv4_address}:{port}` or ` http(s)://{domain}:{port}`
5555 --socket-addr < SOCKET_ADDR>
56- Socket address of llama-proxy-server instance. For example, ` 0.0.0.0:9069 `
56+ Socket address of llama-proxy-server instance. For example, ` 0.0.0.0:12306 `
5757 --port < PORT>
58- Socket address of llama-proxy-server instance [default: 9069 ]
58+ Socket address of llama-proxy-server instance [default: 12306 ]
5959 -h, --help
6060 Print help
6161 -V, --version
@@ -72,7 +72,7 @@ To create an index for a list of documents, you can use the `/v1/index/create` e
7272
7373 ``` bash
7474 # Create index from a list of files
75- curl --location ' http://localhost:9069 /v1/index/create' \
75+ curl --location ' http://localhost:12306 /v1/index/create' \
7676 --form ' file1=@"paris.txt"' \
7777 --form ' file2=@"paris.md"'
7878 ```
@@ -104,7 +104,7 @@ To create an index for a list of documents, you can use the `/v1/index/create` e
104104
105105 ``` bash
106106 # Create index from a list of chunks
107- curl --location ' http://localhost:9069 /v1/index/create' \
107+ curl --location ' http://localhost:12306 /v1/index/create' \
108108 --header ' Content-Type: application/json' \
109109 --data ' {
110110 "documents": [
@@ -164,7 +164,7 @@ To create an index for a list of documents, you can use the `/v1/index/create` e
164164To perform a keyword search, you can use the ` /v1/search ` endpoint:
165165
166166``` bash
167- curl --location ' http://localhost:9069 /v1/search' \
167+ curl --location ' http://localhost:12306 /v1/search' \
168168--header ' Content-Type: application/json' \
169169--data ' {
170170 "query": "What is the location of Paris, France along the Seine river?",
0 commit comments