-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
30 lines (25 loc) · 961 Bytes
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import React from "react";
import {Provider} from "react-redux";
import ENV from "./config";
import {reactGenieStore} from "./store";
import {ModalityProvider} from "reactgenie-lib";
import {StartView} from "./src/StartView";
const App = () => {
return (
<Provider store={reactGenieStore}>
<ModalityProvider
displayTranscript={true}
codexApiKey={ENV.OPENAI_API_KEY!}
codexApiBaseUrl={ENV.OPENAI_API_BASE_URL!}
azureSpeechRegion={ENV.AZURE_SPEECH_REGION!}
azureSpeechKey={ENV.AZURE_SPEECH_KEY!}
extraPrompt={
'// we are using voice recognition. so there may be errors. Try to think about words with similar sounds. For example "address" can actually be "add this".'
}
>
<StartView id={"1"}/>
</ModalityProvider>
</Provider>
);
};
export default App;