-
Notifications
You must be signed in to change notification settings - Fork 399
Overhaul demos directory: cleanup, restructure, and standardize configs #760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
78f761e
Clean up dead demos and restructure directory layout
adilhafeez 5a4f8cb
Standardize demo configs and CLI templates to v0.3.0
adilhafeez 056ed67
Update documentation and test references for new demo paths
adilhafeez bec0dfc
Fix CI failures: update workflow demo paths and listener defaults
adilhafeez 2a10517
Merge remote-tracking branch 'origin/main' into demos-overhaul
adilhafeez 7a0b775
Fix listener defaults to avoid mutating config dicts
adilhafeez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 21 additions & 10 deletions
31
cli/planoai/templates/conversational_state_v1_responses.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,36 @@ | ||
| version: v0.1 | ||
| version: v0.3.0 | ||
|
|
||
| listeners: | ||
| egress_traffic: | ||
| address: 0.0.0.0 | ||
| port: 12000 | ||
| message_format: openai | ||
| timeout: 30s | ||
|
|
||
| llm_providers: | ||
| agents: | ||
| - id: assistant | ||
| url: http://localhost:10510 | ||
|
|
||
| model_providers: | ||
| # OpenAI Models | ||
| - model: openai/gpt-5-mini-2025-08-07 | ||
| access_key: $OPENAI_API_KEY | ||
| default: true | ||
|
|
||
| # Anthropic Models | ||
| # Anthropic Models | ||
| - model: anthropic/claude-sonnet-4-20250514 | ||
| access_key: $ANTHROPIC_API_KEY | ||
|
|
||
| listeners: | ||
| - type: agent | ||
| name: conversation_service | ||
| port: 8001 | ||
| router: plano_orchestrator_v1 | ||
| agents: | ||
| - id: assistant | ||
| description: | | ||
| A conversational assistant that maintains context across multi-turn | ||
| conversations. It can answer follow-up questions, remember previous | ||
| context, and provide coherent responses in ongoing dialogues. | ||
|
|
||
| # State storage configuration for v1/responses API | ||
| # Manages conversation state for multi-turn conversations | ||
| state_storage: | ||
| # Type: memory | postgres | ||
| type: memory | ||
|
|
||
| tracing: | ||
| random_sampling: 100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
10 changes: 4 additions & 6 deletions
10
...ples_python/currency_exchange/config.yaml → demos/advanced/currency_exchange/config.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| services: | ||
| anythingllm: | ||
| image: mintplexlabs/anythingllm | ||
| restart: always | ||
| ports: | ||
| - "3001:3001" | ||
| cap_add: | ||
| - SYS_ADMIN | ||
| environment: | ||
| - STORAGE_DIR=/app/server/storage | ||
| - LLM_PROVIDER=generic-openai | ||
| - GENERIC_OPEN_AI_BASE_PATH=http://host.docker.internal:10000/v1 | ||
| - GENERIC_OPEN_AI_MODEL_PREF=gpt-4o-mini | ||
| - GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT=128000 | ||
| - GENERIC_OPEN_AI_API_KEY=sk-placeholder | ||
| extra_hosts: | ||
| - "host.docker.internal:host-gateway" | ||
|
|
||
| jaeger: | ||
| build: | ||
| context: ../../shared/jaeger | ||
| ports: | ||
| - "16686:16686" | ||
| - "4317:4317" | ||
| - "4318:4318" | ||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 4 additions & 6 deletions
10
...s_python/multi_turn_rag_agent/config.yaml → demos/advanced/multi_turn_rag/config.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| services: | ||
| rag_energy_source_agent: | ||
| build: | ||
| context: . | ||
| dockerfile: Dockerfile | ||
| ports: | ||
| - "18083:80" | ||
| healthcheck: | ||
| test: ["CMD", "curl" ,"http://localhost:80/healthz"] | ||
| interval: 5s | ||
| retries: 20 | ||
|
|
||
| anythingllm: | ||
| image: mintplexlabs/anythingllm | ||
| restart: always | ||
| ports: | ||
| - "3001:3001" | ||
| cap_add: | ||
| - SYS_ADMIN | ||
| environment: | ||
| - STORAGE_DIR=/app/server/storage | ||
| - LLM_PROVIDER=generic-openai | ||
| - GENERIC_OPEN_AI_BASE_PATH=http://host.docker.internal:10000/v1 | ||
| - GENERIC_OPEN_AI_MODEL_PREF=gpt-4o-mini | ||
| - GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT=128000 | ||
| - GENERIC_OPEN_AI_API_KEY=sk-placeholder | ||
| extra_hosts: | ||
| - "host.docker.internal:host-gateway" |
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 4 additions & 6 deletions
10
demos/samples_python/stock_quote/config.yaml → demos/advanced/stock_quote/config.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| services: | ||
| anythingllm: | ||
| image: mintplexlabs/anythingllm | ||
| restart: always | ||
| ports: | ||
| - "3001:3001" | ||
| cap_add: | ||
| - SYS_ADMIN | ||
| environment: | ||
| - STORAGE_DIR=/app/server/storage | ||
| - LLM_PROVIDER=generic-openai | ||
| - GENERIC_OPEN_AI_BASE_PATH=http://host.docker.internal:10000/v1 | ||
| - GENERIC_OPEN_AI_MODEL_PREF=gpt-4o-mini | ||
| - GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT=128000 | ||
| - GENERIC_OPEN_AI_API_KEY=sk-placeholder | ||
| extra_hosts: | ||
| - "host.docker.internal:host-gateway" | ||
|
|
||
| jaeger: | ||
| build: | ||
| context: ../../shared/jaeger | ||
| ports: | ||
| - "16686:16686" | ||
| - "4317:4317" | ||
| - "4318:4318" |
File renamed without changes.
File renamed without changes
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.