rn-ai 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +10 -10
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -91,20 +91,20 @@ EXPO_PUBLIC_PROD_API_URL="https://staging.example.com"
|
|
|
91
91
|
# environment, either PRODUCTION or DEVELOPMENT
|
|
92
92
|
ENVIRONMENT="PRODUCTION"
|
|
93
93
|
|
|
94
|
-
# ByteScale secret https://bytescale.com
|
|
95
|
-
BYTESCALE_API_KEY=""
|
|
96
|
-
|
|
97
94
|
# OpenAI https://platform.openai.com
|
|
98
95
|
OPENAI_API_KEY=""
|
|
99
96
|
|
|
100
|
-
#
|
|
97
|
+
# FAL AI https://www.fal.ai
|
|
98
|
+
FAL_API_KEY=""
|
|
99
|
+
|
|
100
|
+
# Anthropic (optional) https://console.anthropic.com
|
|
101
101
|
ANTHROPIC_API_KEY=""
|
|
102
102
|
|
|
103
|
-
# Cohere https://cohere.com
|
|
103
|
+
# Cohere (optional) https://cohere.com
|
|
104
104
|
COHERE_API_KEY=""
|
|
105
105
|
|
|
106
|
-
#
|
|
107
|
-
|
|
106
|
+
# ByteScale secret (optional) https://bytescale.com
|
|
107
|
+
BYTESCALE_API_KEY=""
|
|
108
108
|
`
|
|
109
109
|
|
|
110
110
|
if (withEnv === 'yes') {
|
|
@@ -114,13 +114,13 @@ FAL_API_KEY=""
|
|
|
114
114
|
console.log('Get Fal API Key at https://www.fal.ai/')
|
|
115
115
|
const fal_api_key = await input({ message: "Fal API Key" })
|
|
116
116
|
|
|
117
|
-
console.log('Get Anthropic API Key at https://console.anthropic.com/')
|
|
117
|
+
console.log('(optional) Get Anthropic API Key at https://console.anthropic.com/')
|
|
118
118
|
const anthropic_api_key = await input({ message: "Anthropic API Key" })
|
|
119
119
|
|
|
120
|
-
console.log('Get Cohere API Key at https://cohere.com/')
|
|
120
|
+
console.log('(optional) Get Cohere API Key at https://cohere.com/')
|
|
121
121
|
const cohere_api_key = await input({ message: "Cohere API Key" })
|
|
122
122
|
|
|
123
|
-
console.log('Get Bytescale API Key at https://bytescale.com/')
|
|
123
|
+
console.log('(optional) Get Bytescale API Key at https://bytescale.com/')
|
|
124
124
|
const bytescale_api_key = await input({ message: "Bytescale API Key" })
|
|
125
125
|
|
|
126
126
|
envs = `
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rn-ai",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Full stack mobile framework for building cross-platform mobile AI apps supporting image processing, real-time / streaming text and chat UIs, and image uploads with multiple service providers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "cli.js",
|