Skip to content

Commit

Permalink
Add logging
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Yuan <[email protected]>
  • Loading branch information
juntao committed Jan 27, 2024
1 parent b603119 commit e81c8de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,6 @@ jobs:
mkdir qdrant_storage
nohup docker run -d -p 6333:6333 -p 6334:6334 -v ${{ github.workspace }}/qdrant_storage:/qdrant/storage:z qdrant/qdrant
# - name: Run qdrant in Docker
# uses: addnab/docker-run-action@v3
# with:
# image: qdrant/qdrant
# # options: -d -p 6333:6333 -p 6334:6334 -v ${{ github.workspace }}/qdrant_storage:/qdrant/storage:z
# options: -d -p 6333:6333
# shell: bash
# run: |
# entrypoint.sh

- name: Install Rust target for wasm
run: |
rustup target add wasm32-wasi
Expand All @@ -50,7 +40,7 @@ jobs:
run: |
VERSION=0.13.5
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | sudo bash -s -- -v $VERSION --plugins wasmedge_rustls -p /usr/local
curl -X PUT 'http://localhost:6333/collections/test_collection' -H 'Content-Type: application/json' --data-raw '{ "vectors": { "size": 4, "distance": "Dot" } }'
# curl -X PUT 'http://localhost:6333/collections/test_collection' -H 'Content-Type: application/json' --data-raw '{ "vectors": { "size": 4, "distance": "Dot" } }'
- name: Run examples
run: |
Expand Down
1 change: 1 addition & 0 deletions examples/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
};
points.push(p);
}
println!("Upsert points {:?}", points);
let r = client.upsert_points("my_test", points).await;
println!("Upsert points result is {:?}", r);

Expand Down

0 comments on commit e81c8de

Please sign in to comment.