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

change the success message as some opensource models like empower-fun… #617

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

MoheyEl-DinBadr
Copy link

change the success message as some opensource models like empower-functions-medium (can be tested with baseUrl: https://app.empower.dev/api/v1/functions/) accepts Tool Message as Json only

…ctions-medium (can be tested with baseUrl: https://app.empower.dev/api/v1/functions/) accepts Tool Message as Json only
@MoheyEl-DinBadr MoheyEl-DinBadr requested a review from a team as a code owner May 22, 2024 23:40
@geoand
Copy link
Collaborator

geoand commented May 23, 2024

Hi,

Thanks for the contribution, but I can't say I really understand this change

@MoheyEl-DinBadr
Copy link
Author

Hi,

Thanks for the contribution, but I can't say I really understand this change

There is an exception happening when you try open-source LLMs like empower you get the following exception

log.txt

you could check it out by having this configurations no api-key needed

quarkus.langchain4j.openai.chat-model.model-name=empower-functions-medium
quarkus.langchain4j.openai.base-url=https://app.empower.dev/api/v1/functions/

@geoand
Copy link
Collaborator

geoand commented May 28, 2024

I will check soon, thanks

@geoand
Copy link
Collaborator

geoand commented May 31, 2024

@langchain4j does this seems correct to you?

@langchain4j
Copy link
Collaborator

A bit strange (regarding JSON strictness), but if there is such a requirement, what can we do...

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