Skip to content

Commit 0adc538

Browse files
committed
add Hune
1 parent 7ce34d6 commit 0adc538

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

contributed/conversationalAI/readme.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Conversational AI
22
Copyright 2025 Moddable Tech, Inc.<BR>
3-
Updated March 5, 2025
3+
Updated April 2, 2025
44

55
## Introduction
66
The Conversational AI application provides real-time voice chats with over a dozen AI assistants from multiple AI services.
@@ -16,19 +16,22 @@ You will need your own keys for the AI services used by the Conversational AL. I
1616
It is recommended that you specify the API keys on the command line, though there is also a place to put them in the `config` section of [manifest.json](./manifest.json). On the command line, you can specify the keys directly:
1717

1818
```
19-
mcconfig -d -m -p esp32/moddable_six_cdc openAIKey="xyzzy" geminiAPIKey="abcde"
19+
mcconfig -d -m -p esp32/moddable_six_cdc openAIKey="xyzzy" geminiAPIKey="abcde" humeAPIKey="empath"
2020
```
2121

2222
You can also add the keys to your environment, so that they can be accessed by name.
2323

2424
```
2525
export OPENAI_API_KEY="xyzzy"
2626
export GEMINI_API_KEY ="abcde"
27-
mcconfig -d -m -p esp32/moddable_six_cdc openAIKey=$OPENAI_API_KEY geminiAPIKey=$GEMINI_API_KEY
27+
export HUME_API_KEY ="empath"
28+
mcconfig -d -m -p esp32/moddable_six_cdc openAIKey=$OPENAI_API_KEY geminiAPIKey=$GEMINI_API_KEY humeAPIKey=$HUME_API_KEY
2829
```
2930

31+
> **Note**: All API keys are optional: you can omit the key for any service you are not using. Of course, only services with a valid key will work.
32+
3033
### Wi-Fi
31-
The application does not currently have a user interface to connect to Wi-Fi. You will need to set that from the command line when building, using the usual `ssid` and `password` variables:
34+
The application does not currently have a user interface to connect to Wi-Fi. You need to set that from the command line when building, using the usual `ssid` and `password` variables:
3235

3336
```
3437
mcconfig -d -m -p esp32/moddable_six_cdc ssid="my wifi" password="secret"
@@ -59,5 +62,5 @@ Conversational AI is incredibly efficient, but it still requires more resources,
5962
You can also run Conversational AI on the Moddable SDK's built-in simulator, `mcsim`. This is a great way to explore how the code works and even develop new features. The simulator is available on macOS, Windows, and Linux. To build and run, just use the Moddable Six simulator target with your AI service keys:
6063

6164
```
62-
mcconfig -d -m -p sim/moddable_six openAIKey=$OPENAI_API_KEY geminiAPIKey=$GEMINI_API_KEY
65+
mcconfig -d -m -p sim/moddable_six openAIKey=$OPENAI_API_KEY geminiAPIKey=$GEMINI_API_KEY humeAPIKey=$HUME_API_KEY
6366
```

0 commit comments

Comments
 (0)