Comments (12)
@edeandrea would you be able to give me the URL the application uses when it hits OpenAI?
Asking because I tried something really quick with Langchain4j but I am getting 404s
from quarkus-super-heroes.
I really have no idea what url it hits currently. It's baked into the semantic kernel API somewhere.....
from quarkus-super-heroes.
Or do you mean when it hits the Azure OpenAI service?
from quarkus-super-heroes.
The URL. I was hoping that semantic kernel has some debugging you can use
from quarkus-super-heroes.
Which URL though? The URL it uses for the Azure OpenAI service or for OpenAI.net?
from quarkus-super-heroes.
The former
from quarkus-super-heroes.
It would be something like https://<cognitive-service-endpoint>/deployments/<deployment-name>/completions?api-version=<api-version>
from quarkus-super-heroes.
Once quarkiverse/quarkus-langchain4j#39 is in and we do a 0.2.0
release, the switch should be possible and the move to quarkus-langchain4j-azure-openai
should make the narration service a lot simpler.
from quarkus-super-heroes.
Per the conversation in quarkiverse/quarkus-langchain4j#39, unfortunately for now we can not bring that extension into the mix within this application due to the fact that this app currently supports integration with both Azure OpenAI and OpenAI.net. The Quarkus Langchain4j extension currently only supports a single provider.
Perhaps in the future it might support multiple providers via configuration, in which case we can re-examine it.
from quarkus-super-heroes.
This is blocked by quarkiverse/quarkus-langchain4j#56
from quarkus-super-heroes.
@geoand If I include both the openai & azure-open-ai extensions, how do I tell it (at build time) which one to use? Would I use the chat-model.enabled
property?
from quarkus-super-heroes.
Nevermind I found quarkus.langchain4j.chat-model.provider
!
from quarkus-super-heroes.
Related Issues (20)
- Rewrite UI in a more modern framework HOT 1
- Indicate generated yaml by .gitignore-ing it and including a comment indicating it's generated (to reduce maintenance effort for contributors) HOT 23
- Clean up various kubernetes profiles config HOT 4
- Add a narration microservice that can narrate fights
- Fight microservice website information is outdated
- InvalidDefinitionException with Instant in tests with quarkus dev mode HOT 5
- Missing config key in hero register rest client annotation
- Support native compilation in narration service HOT 1
- Introduce Java 21 HOT 8
- Introduce some gRPC? HOT 1
- Update azure containerapps docs & script with narration service
- Introduce some gRPC?
- Stork env vars not working properly when deployed to k8s HOT 4
- Change fighters/location UI around a bit to use flip cards
- Add microcks to UI service
- Add openshift-ai integration into narration service
- NoSuchElement on Configuration of rest-fights HOT 2
- Weird CORS bug when pressing "fights" HOT 10
- Weird MongoDB error when running the rest-fights service with Quarkus dev HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quarkus-super-heroes.