-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.env.example
38 lines (33 loc) · 1.98 KB
/
.env.example
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
31
32
33
34
35
36
37
38
# Get key from https://platform.openai.com/account/api-keys
# This gives the user access to the OpenAI API, which is necessary for the Agent to function.
OPENAI_API_KEY=<YOUR_API_KEY>
# For a structure running in Griptape Cloud, set this variable to: https://cloud.griptape.ai
# If running against Skatepark, set this environment variable to tell the client which URL Skatepark is listening on.
# Default is https://127.0.0.1:5000, but is configurable when running 'gt skatepark start'.
GT_CLOUD_BASE_URL=
# The Skatepark emulator does not require Griptape Cloud API Key.
# Structures in Griptape Cloud require a valid API key to authorize your client to call them.
# Generate a key from https://cloud.griptape.ai/configuration/api-keys
GT_CLOUD_API_KEY=<YOUR_API>
# Structure ID from the Griptape Cloud or Skatepark
# For Griptape Cloud: get from https://cloud.griptape.ai/structures
# For Skatepark:
# Once skatepark is started with 'gt skatepark start'
# get the id from running 'gt skatepark register --main-file <path-to-main-file>'
GT_STRUCTURE_ID=
# When running in Griptape Cloud, the Structure first reports
# a status of QUEUED before transitioning to RUNNING. Skatepark
# emulates this behavior by applying a default time to remain
# in the QUEUED state in order to allow your client to
# handle this state appropriately. By default, Skatepark
# keeps your Structure QUEUED for 2 seconds.
# You can override the time that the Structure remains in
# the QUEUED state within Skatepark by setting this environment
# variable to the desired time in seconds.
GT_SKATEPARK_QUEUE_DELAY=2
# Allows the user to retrieve/create the session ID.
# This is only necessary when running the structure in the Griptape Cloud or in Skatepark.
# Get from https://<CDK_DEFAULT_REGION>.console.aws.amazon.com/lambda/home?region=<CDK_DEFAULT_REGION>#/functions
# Griptape Chatbot Lambda function to invoke a Griptape Structure
# Omit this variable if you are using Griptape Cloud Threads for Conversation Memory.
LAMBDA_ENDPOINT=