Releases: googleapis/nodejs-vertexai
Releases · googleapis/nodejs-vertexai
v1.3.0
v1.2.0
1.2.0 (2024-05-22)
Features
- allow users to pass string as system instruction (a824162)
- enable inference request to tuned model. (de9c4c2)
- infer location if user doesn't specifies it. (b8d4af1)
- support RAG in public preview (5ade755)
- update grounding metadata (d3c0a64)
Bug Fixes
- log instead of throw appendHistory errors to avoid unhandled rejection (2ec9e7d)
v1.1.0
v1.0.0
1.0.0 (2024-04-04)
Features
- added userAgent option to RequestOptions to allow setting User-Agent header (ca43e2f)
- include grounding metadata to stream aggregated response. (d32755e)
- Support functionCalls property in GenerationContentCandidate interface for non streaming mode (89568a6)
Bug Fixes
- check optional field in aggregate response (f7718ae)
- correct CitationMetadata interface. refactor nested function (722b7fd)
- correct code snippets in README (bdcc5fd)
- correct GenerateContentCandidate interface and GenerateContentResponse interface (7a366ab)
- correct sys test logic on stream endpoint for funcion calling (1fd5b72)
- Fix a bug in the Vertex AI client library. (8ad7dfb)
- fix bug in safetyRatings handling, fix incomplete content interfaces, and add unit test for stream response handling (e573ce6)
- for function call, role should be model. (3b80dc8)
- functionResponse should be user role (d092ab4)
- Make appendHistory private. (a1bedcd)
- pass tools from getGenerativeModel and startChat methods to top level functions (bbaf78a)
- pass tools from getGenerativeModel to chatSession. (907ad74)
- remove any type in token signature (add084c)
- remove defaulting value of candidates in unary api. remove unused variables and imports. remove throwing GoogleAIError when candidates undefined or empty. (6c0c31c)
- replace any type with explicit types in post fetch processing functions (4099129)
- replace snake_case in docs to camelCase (5893581)
- SDK should be released to 1.0.0 (4cab5fd)
- update finish reason enum list to be complete (f16b2e7)
- update prompt feedback interface (0d3754a)