-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (49 loc) · 2.12 KB
/
.env.example
File metadata and controls
59 lines (49 loc) · 2.12 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Professional CLI Chatbot Configuration
#
# This file contains example configuration for the chatbot.
# Copy this file to .env and modify the values as needed.
# Basic configuration
CHATBOT_THEME=default
CHATBOT_VERBOSE=false
CHATBOT_MAX_HISTORY=10
CHATBOT_LANGUAGE=english
CHATBOT_DEBUG=false
# Logging configuration
CHATBOT_LOG_LEVEL=INFO
CHATBOT_LOG_FILE=chatbot.log
# API configuration for AI models
# OpenAI GPT models
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_GPT35_ENDPOINT=https://api.openai.com/v1/chat/completions
OPENAI_GPT4_ENDPOINT=https://api.openai.com/v1/chat/completions
OPENAI_GPT4_TURBO_ENDPOINT=https://api.openai.com/v1/chat/completions
OPENAI_GPT4O_ENDPOINT=https://api.openai.com/v1/chat/completions
# Google AI models
GOOGLE_AI_API_KEY=your_google_ai_api_key_here
GOOGLE_GEMINI_PRO_ENDPOINT=https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent
GOOGLE_GEMINI_ULTRA_ENDPOINT=https://generativelanguage.googleapis.com/v1beta/models/gemini-ultra:generateContent
GOOGLE_GEMINI_FLASH_ENDPOINT=https://generativelanguage.googleapis.com/v1beta/models/gemini-flash:generateContent
# Anthropic models
ANTHROPIC_API_KEY=your_anthropic_api_key_here
ANTHROPIC_CLAUDE3_HAIKU_ENDPOINT=https://api.anthropic.com/v1/messages
ANTHROPIC_CLAUDE3_SONNET_ENDPOINT=https://api.anthropic.com/v1/messages
ANTHROPIC_CLAUDE3_Opus_ENDPOINT=https://api.anthropic.com/v1/messages
# Mistral AI models
MISTRAL_API_KEY=your_mistral_api_key_here
MISTRAL_MIXTRAL_ENDPOINT=https://api.mistral.ai/v1/chat/completions
MISTRAL_CODESTRAL_ENDPOINT=https://api.mistral.ai/v1/chat/completions
MISTRAL_LARGE_ENDPOINT=https://api.mistral.ai/v1/chat/completions
# Cohere models
COHERE_API_KEY=your_cohere_api_key_here
COHERE_COMMAND_R_ENDPOINT=https://api.cohere.ai/v1/chat
COHERE_COMMAND_R_PLUS_ENDPOINT=https://api.cohere.ai/v1/chat
# Hugging Face models
HUGGINGFACE_API_KEY=your_huggingface_api_key_here
HUGGINGFACE_API_ENDPOINT=https://api-inference.huggingface.co/models/
# Default model selection
DEFAULT_AI_MODEL=gpt-3.5-turbo
FALLBACK_AI_MODEL=gemini-pro
# API timeout and retry settings
API_TIMEOUT=30
API_MAX_RETRIES=3
API_RETRY_DELAY=2