Skip to content

Conversation

turchinc
Copy link
Contributor

@turchinc turchinc commented Jul 11, 2024

see also #1030

@turchinc
Copy link
Contributor Author

I tested this locally by replacing just the gemini jar

    implementation 'org.springframework.ai:spring-ai-vertex-ai-gemini'
    //TODO replace when bug is fixed 
    implementation fileTree(dir: 'libs', include: ['*.jar'])

and the results are now as expected

You are a helpful assistant, providing guidance based on the information provided below. Always return as JSON format:
Format example:
{"response": "This is the useful response from the helpful assistant", "link": "https://link-for-more-information"}
What is the URL for the google search engine?

{"response": "The URL for the Google search engine is https://www.google.com/", "link": "https://www.google.com/"}

@tzolov tzolov self-assigned this Jul 15, 2024
@tzolov tzolov added model client bug Something isn't working labels Jul 15, 2024
@tzolov tzolov added this to the 1.0.0-M2 milestone Jul 15, 2024
@tzolov
Copy link
Contributor

tzolov commented Jul 15, 2024

Thanks @turchinc, I've added some additional changes to the PR to update the default model and improve the message handling cohesion.
Rebased, squashed and merged at f07e391

@tzolov tzolov closed this Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working model client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants