소스 검색

Update README.md

Co-authored-by: royjhan <65097070+royjhan@users.noreply.github.com>
Bruce MacDonald 1 년 전
부모
커밋
22e718c0b7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -182,7 +182,7 @@ ollama.embed(request)
 
 - `request` `<Object>`: The request object containing embedding parameters.
   - `model` `<string>` The name of the model used to generate the embeddings.
-  - `input` `<string>`: The input used to generate the embedding.
+  - `input` `<string> | <string[]>`: The input used to generate the embedding.
   - `truncate` `<boolean>`: (Optional) Truncate the input to fit the maximum context length supported by the model.
   - `keep_alive` `<string | number>`: (Optional) How long to keep the model loaded.
   - `options` `<Options>`: (Optional) Options to configure the runtime.