Skip to content

Releases: tanaikech/GeminiWithFiles

v2.0.2

05 Oct 00:42
Compare
Choose a tag to compare
  • v2.0.2 (September 26, 2024)

    1. As the option for generationConfig, the properties response_schema and temperature were added.

v2.0.1

04 Aug 02:29
Compare
Choose a tag to compare
  • v2.0.1 (August 4, 2024)

    1. From this version, codeExecution can be used. Ref

v2.0.0

03 Aug 05:24
Compare
Choose a tag to compare
  • v2.0.0 (August 3, 2024)

    1. From this version, the following changes were made.
    • PDF data can be directly used. Ref By this, PDFApp is not required to be used. By this, the script can be used without async/await.
    • As the default, functions: {} is used. So, the default function calling was removed. Because in the current stage, JSON output can be easily returned using a JSON schema and response_mime_type. Ref Ref
    • The default model was changed from models/gemini-1.5-pro-latest to models/gemini-1.5-flash-latest.
    • The export values with exportTotalTokens were changed. After v2.x.x, when this is true, the object usageMetadata including promptTokenCount, candidatesTokenCount, totalTokenCount is exported. At that time, the generated content and usageMetadata are returned as an object.
    • After v2.x.x, the large files can be uploaded to Gemini. This is from this respository and this post.

v1.0.7

04 Jul 02:31
Compare
Choose a tag to compare
  • v1.0.7 (July 4, 2024)

    1. From this version, when doCountToken: true and exportTotalTokens: true are used in the object of the argument of geminiWithFiles, the total tokens are returned. In this case, the returned value is an object like {returnValue: "###", totalTokens: ###}.

v1.0.6

15 Jun 11:39
Compare
Choose a tag to compare
  • v1.0.6 (June 15, 2024)

    1. Included the script of PDFApp in this library.

v1.0.5

07 Jun 05:04
Compare
Choose a tag to compare
  • v1.0.5 (June 7, 2024)

    1. Spelling mistakes in the warning message were modified. The wait time for changing the value of state for the movie file is changed from 5 seconds to 10 seconds per cycle.

v1.0.4

29 May 05:27
Compare
Choose a tag to compare
  • v1.0.4 (May 29, 2024)

    1. Recently, when model.countToken is used with the uploaded files, I confirmed that an error like You do not have permission to access the File ### or it may not exist. occurred. In order to handle this issue, I modified the library.
    2. In order to use the movie files for generateContent, I modified the library. Ref

v1.0.3

17 May 05:52
Compare
Choose a tag to compare
  • v1.0.3 (May 17, 2024)

    1. Bugs were removed.

v1.0.2

07 May 01:24
Compare
Choose a tag to compare
  • v1.0.2 (May 7, 2024)

    1. For generating content, parts was added. From this version, you can select one of q, jsonSchema, and parts.
    2. From this version, systemInstruction can be used.
    3. In order to call the function call, toolConfig was added to the request body.

v1.0.1

02 May 02:17
Compare
Choose a tag to compare
  • v1.0.1 (May 2, 2024)

    1. response_mime_type got to be able to be used for controlling the output format. Ref