From 24b2d7b557404b201f9f766f9740fbd13dd88e30 Mon Sep 17 00:00:00 2001 From: Wei Ouyang Date: Mon, 9 Dec 2024 10:05:21 -0800 Subject: [PATCH] Enhance apps source --- docs/_sidebar.md | 1 + docs/getting-started.md | 2 +- docs/migration-guide.md | 10 +++++----- docs/service-type-annotation.md | 2 +- docs/{rag.md => vector-search.md} | 2 +- helm-charts/aks-hypha.md | 2 +- helm-charts/hypha-server/Chart.yaml | 2 +- helm-charts/hypha-server/values.yaml | 2 +- hypha/VERSION | 2 +- hypha/templates/hypha-core-app/hypha-app-webpython.js | 2 +- hypha/templates/ws/index.html | 2 +- requirements.txt | 2 +- setup.py | 2 +- 13 files changed, 17 insertions(+), 16 deletions(-) rename docs/{rag.md => vector-search.md} (99%) diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 7818dc7c..b01de9d9 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -7,4 +7,5 @@ * [Launch Service](/launch-service) * [Operate Files](/operate-files) * [Artifact Manager](/artifact-manager) + * [Vector Search](/vector-search) * [Development](/development) diff --git a/docs/getting-started.md b/docs/getting-started.md index 31cbfd51..f0f1a108 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -220,7 +220,7 @@ svc = await get_remote_service("http://localhost:9527/ws-user-scintillating-lawy Include the following script in your HTML file to load the `hypha-rpc` client: ```html - + ``` Use the following code in JavaScript to connect to the server and access an existing service: diff --git a/docs/migration-guide.md b/docs/migration-guide.md index ee3d772b..03d7269e 100644 --- a/docs/migration-guide.md +++ b/docs/migration-guide.md @@ -15,7 +15,7 @@ To connect to the server, instead of installing the `imjoy-rpc` module, you will pip install -U hypha-rpc # new install ``` -We also changed our versioning strategy, we use the same version number for the server and client, so it's easier to match the client and server versions. For example, `hypha-rpc` version `0.20.42` is compatible with Hypha server version `0.20.42`. +We also changed our versioning strategy, we use the same version number for the server and client, so it's easier to match the client and server versions. For example, `hypha-rpc` version `0.20.43` is compatible with Hypha server version `0.20.43`. #### 2. Change the imports to use `hypha-rpc` @@ -128,10 +128,10 @@ loop.run_forever() To connect to the server, instead of using the `imjoy-rpc` module, you will need to use the `hypha-rpc` module. The `hypha-rpc` module is a standalone module that provides the RPC connection to the Hypha server. You can include it in your HTML using a script tag: ```html - + ``` -We also changed our versioning strategy, we use the same version number for the server and client, so it's easier to match the client and server versions. For example, `hypha-rpc` version `0.20.42` is compatible with Hypha server version `0.20.42`. +We also changed our versioning strategy, we use the same version number for the server and client, so it's easier to match the client and server versions. For example, `hypha-rpc` version `0.20.43` is compatible with Hypha server version `0.20.43`. #### 2. Change the connection method and use camelCase for service function names @@ -149,7 +149,7 @@ Here is a suggested list of search and replace operations to update your code: Here is an example of how the updated code might look: ```html - + + +