Skip to content

Commit 35adca3

Browse files
Merge pull request #2 from BTreeMap/copilot/create-python-agentic-subproject
Migrate conversation flow agentic features to Python/LangChain subproject
2 parents 2e62e8b + 3031858 commit 35adca3

35 files changed

Lines changed: 4688 additions & 0 deletions

python/langchain/.env.example

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# OpenAI Configuration
2+
OPENAI_API_KEY=your_openai_api_key_here
3+
OPENAI_MODEL=gpt-4o-mini
4+
OPENAI_TEMPERATURE=0.1
5+
6+
# Path to Go application state directory
7+
PROMPTPIPE_STATE_DIR=/var/lib/promptpipe
8+
9+
# Prompt files (relative to python/langchain directory)
10+
INTAKE_BOT_PROMPT_FILE=../../prompts/intake_bot_system.txt
11+
COORDINATOR_PROMPT_FILE=../../prompts/conversation_system_3bot.txt
12+
FEEDBACK_TRACKER_PROMPT_FILE=../../prompts/feedback_tracker_system.txt
13+
PROMPT_GENERATOR_PROMPT_FILE=../../prompts/prompt_generator_system.txt
14+
15+
# Timeouts
16+
FEEDBACK_INITIAL_TIMEOUT=15m
17+
FEEDBACK_FOLLOWUP_DELAY=3h
18+
19+
# Chat History
20+
CHAT_HISTORY_LIMIT=-1
21+
22+
# API Configuration
23+
API_HOST=0.0.0.0
24+
API_PORT=8001
25+
26+
# Debug Mode
27+
DEBUG=false

python/langchain/.gitignore

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Python
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
*.so
6+
.Python
7+
build/
8+
develop-eggs/
9+
dist/
10+
downloads/
11+
eggs/
12+
.eggs/
13+
lib/
14+
lib64/
15+
parts/
16+
sdist/
17+
var/
18+
wheels/
19+
*.egg-info/
20+
.installed.cfg
21+
*.egg
22+
23+
# Virtual Environment
24+
.venv/
25+
venv/
26+
ENV/
27+
env/
28+
29+
# IDE
30+
.vscode/
31+
.idea/
32+
*.swp
33+
*.swo
34+
*~
35+
36+
# Testing
37+
.pytest_cache/
38+
.coverage
39+
htmlcov/
40+
.tox/
41+
42+
# Environment
43+
.env
44+
.env.local
45+
46+
# Logs
47+
*.log
48+
49+
# Database
50+
*.db
51+
*.db-journal
52+
*.db-wal
53+
*.db-shm
54+
55+
# macOS
56+
.DS_Store

python/langchain/.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

0 commit comments

Comments
 (0)