Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release 1.0.0 #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

release-please[bot]
Copy link

🤖 I have created a release beep boop

1.0.0 (2024-05-18)

Features

  • add countTokens method (e0265a3)
  • add function calling support (1deb4e9)
  • add generateContent method (d7f1f0f)
  • add streamGenerateContent method (6263800)
  • Added support for Grounding (929df39)
  • added userAgent option to RequestOptions to allow setting User-Agent header (ca43e2f)
  • allow user to pass "models/model-ID" to instantiate model (e94b285)
  • allow users to pass string as system instruction (a824162)
  • enable both GA and preview namespaces. (1c2aca6)
  • enable inference request to tuned model. (de9c4c2)
  • enable response style in generation config (46b0836)
  • enable streamSendMessage for chat. (598b1dd)
  • enable system instruction for GenerativeModel (590ca5a)
  • enable system instruction in chat experience (7e71f75)
  • exposing customHeader in requestOptions to allow users pass in customer headers. (b47d733)
  • include all supported authentication options (257355c)
  • include grounding metadata to stream aggregated response. (d32755e)
  • Introduce Request Timeout Configuration (1b37f40)
  • remove response style in generation config (87d8b58)
  • Support functionCalls property in GenerationContentCandidate interface for non streaming mode (89568a6)
  • update grounding metadata (d3c0a64)

Bug Fixes

  • Add samples link to readme (3a86e85)
  • check optional field in aggregate response (f7718ae)
  • correct CitationMetadata interface. refactor nested function (722b7fd)
  • correct code snippets in README (bdcc5fd)
  • correct endpoint string pattern. (9989acc)
  • correct GenerateContentCandidate interface and GenerateContentResponse interface (7a366ab)
  • correct sys test logic on stream endpoint for funcion calling (1fd5b72)
  • correct UsageMetadata schema (10bc676)
  • decouple dependency between VertexAI_Preivew and GenerativeModel classes (6762c99)
  • enable passing only a string to generateContent and generateContentStream (c50811e)
  • 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)
  • fix bug on blocking streaming in send message (a675e46)
  • fix header (04a32e6)
  • fix stream send message content (ad1e17e)
  • fix system test messages and sendMessageStream test. (3713903)
  • fix user agent in header (8cee1b5)
  • for function call, role should be model. (3b80dc8)
  • functionResponse should be user role (d092ab4)
  • include usageMetadata in stream aggregated response (a1154c9)
  • log instead of throw appendHistory errors to avoid unhandled rejection (2ec9e7d)
  • Make appendHistory private. (a1bedcd)
  • pass tools from getGenerativeModel and startChat methods to top level functions (bbaf78a)
  • pass tools from getGenerativeModel to chatSession. (907ad74)
  • processing of streams, including UTF (63ce032)
  • 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)
  • remove placeholder cache attribute of access token (3ec92e7)
  • replace any type with explicit types in post fetch processing functions (4099129)
  • replace snake_case in docs to camelCase (5893581)
  • safety return types (449c7a2)
  • SDK should be released to 1.0.0 (4cab5fd)
  • Switch NodeJS generateContent to call Unary API endpoint (e4edb59)
  • throw ClientError or GoogleGenerativeAIError according to response status so that users can catch them and handle them according to class name. (ea0dcb7)
  • throw error when GoogleAuthOptions.scopes doesn't include required scope. (558aee9)
  • throw more details on error message. (5dba79c)
  • throws instructive client side error message when bad request happens for function calling (c90203d)
  • unary api should only need to await once. (67a2e96)
  • update finish reason enum list to be complete (f16b2e7)
  • update header field (eab8841)
  • update prompt feedback interface (0d3754a)
  • update readme (b01bd39)
  • update sendMessageStream sys test streamThreshold (6d7df21)

This PR was generated with Release Please. See documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants