Comments (2)
@Zenulous the UI is a placeholder so that there is a way to switch between the models.
However, currently in the backend it will be the model that is set using AZURE_OPENAI_API_DEPLOYMENT_NAME
You can easily change the backend to toggle the models
if (props.model === "gpt-3.5") {
modelName = process.env.GPT_3_5_MODEL_NAME;
}
if (props.model === "gpt-4") {
modelName = process.env.GPT_4_MODEL_NAME;
}
const chat = new ChatOpenAI({
temperature: transformConversationStyleToTemperature(
chatThread.conversationStyle
),
streaming: true,
azureOpenAIApiCompletionsDeploymentName: modelName,
}); ```
from azurechat.
Makes sense. Would be nice to have this reflected in the actual code since I actually figured I would be using 3.5 when I first saw the UI 😄
from azurechat.
Related Issues (20)
- Support multi photo uploaded in single message
- Microphone button not stopping
- Use GPT4o new model HOT 4
- Unable to create prompt templates HOT 2
- TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined HOT 3
- Is there an Azurechat roadmap available
- Load Test
- Getting api/auth/error after deployment
- Compatibility Issue with Azure GovCloud HOT 1
- (x) Failed: Packaging service frontend
- Dockerfile RUN yarn build fails related to @azure/storage-blob package
- index HOT 2
- 400 Invalid image (base64) data
- Access Control with Security Groups for Extensions
- Disable AI search when upload document
- Sample up to date
- Access Control for Extensions
- Cannot go past login page when accessed via Microsoft Teams's website tab
- Azure AI Search - unauthorized errors
- Extensions with delegated permissions scope / Graph APIs
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 azurechat.