Skip to content

Conversation

@codefromthecrypt
Copy link
Contributor

This adds code needed to make 1.0.0-M7 work, which was more tricky than before and tracked upstream in spring-projects/spring-ai#2712 cc @ThomasVitale

Ran with ollama (over openai) and azure

Screenshot 2025-04-12 at 9 03 30 AM Screenshot 2025-04-12 at 9 08 04 AM

@codefromthecrypt
Copy link
Contributor Author

codefromthecrypt commented Apr 12, 2025

@ThomasVitale I also noticed there aren't any spans for the tool calls (the GET should be under a span representing the tool called). Am I missing something, or is it a TODO, or an expectation for programmatic code?

@codefromthecrypt
Copy link
Contributor Author

rejigged most work arounds into yaml so it is less distracting at the next conference

Signed-off-by: Adrian Cole <[email protected]>
# Right now, we cannot select azure or openai with a single property.
# See https://github.com/spring-projects/spring-ai/issues/2712
model:
embedding: ${spring.ai.model.chat}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so, for now, I'm re-using the chat value for the others that have auto-configuration depenedencies despite being used. At some point I think the word "model" shouldn't be used as these are inference providers, not models

@codefromthecrypt codefromthecrypt merged commit e3a1a1f into main Apr 13, 2025
2 checks passed
@codefromthecrypt codefromthecrypt deleted the genai-function-calling-spring-ai-1.0.0-M7 branch April 15, 2025 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants