Skip to content

Commit

Permalink
Release new docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Milvus-doc-bot authored and Milvus-doc-bot committed Oct 8, 2023
1 parent 6d7bb07 commit b8ed37f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions v2.3.x/site/en/userGuide/create_collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ create collection -c book -f book_id:INT64:book_id -f word_count:INT64:word_coun

```curl
curl -X 'POST' \
'${MILVUS_HOST}:${MILVUS_PORT}/v1/vector/collections/create'' \
-H 'Authorization: Bearer ${TOKEN}'
'${MILVUS_HOST}:${MILVUS_PORT}/v1/vector/collections/create' \
-H 'Authorization: Bearer ${TOKEN}' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
Expand Down
4 changes: 1 addition & 3 deletions v2.3.x/site/en/userGuide/insert_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ curl -X 'POST' \
-d '{
"collectionName": "collection1",
"data": {
"id": "id1",
"vector": [0.1, 0.2, 0.3],
"name": "tom",
"email": "[email protected]",
Expand All @@ -191,12 +190,11 @@ curl --request POST \
--url '${MILVUS_HOST}:${MILVUS_PORT}/v1/vector/insert' \
--header 'Authorization: Bearer <TOKEN>' \
--header 'accept: application/json' \
--header 'content-type: application/json'
--header 'content-type: application/json' \
-d '{
"collectionName": "collection1",
"data": [
{
"id": "id1",
"vector": [0.1, 0.2, 0.3],
"name": "bob",
"email": "[email protected]",
Expand Down

0 comments on commit b8ed37f

Please sign in to comment.