Skip to content

Commit 2d77aac

Browse files
Remove unused message history manager example (#605)
1 parent 38fc929 commit 2d77aac

21 files changed

Lines changed: 241 additions & 1079 deletions

File tree

assistants/codespace-assistant/uv.lock

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assistants/document-assistant/.vscode/launch.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,15 @@
88
"cwd": "${workspaceFolder}",
99
"module": "semantic_workbench_assistant.start",
1010
"consoleTitle": "${workspaceFolderBasename}",
11-
"justMyCode": false // Set to false to debug external libraries
11+
"justMyCode": true // Set to false to debug external libraries
12+
},
13+
{
14+
"name": "assistants: document-assistant (Python Debugger: Current File)",
15+
"type": "debugpy",
16+
"request": "launch",
17+
"program": "${file}",
18+
"console": "integratedTerminal",
19+
"justMyCode": true
1220
}
1321
],
1422
"compounds": [

assistants/document-assistant/assistant/config.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@
99
from openai_client import (
1010
AzureOpenAIServiceConfig,
1111
OpenAIRequestConfig,
12-
azure_openai_service_config_construct,
1312
azure_openai_service_config_reasoning_construct,
1413
)
1514
from pydantic import BaseModel, Field
16-
from semantic_workbench_assistant.config import UISchema
15+
from semantic_workbench_assistant.config import UISchema, first_env_var
1716

1817
from assistant.guidance.guidance_config import GuidanceConfigModel
1918
from assistant.response.prompts import GUARDRAILS_POSTFIX, ORCHESTRATION_SYSTEM_PROMPT
@@ -24,11 +23,11 @@ def _azure_openai_service_config_with_deployment(deployment_name: str) -> AzureO
2423
Create Azure OpenAI service config with specific deployment name.
2524
This avoids environment variable overrides that would affect the deployment.
2625
"""
27-
base_config = azure_openai_service_config_construct()
28-
return AzureOpenAIServiceConfig(
29-
azure_openai_endpoint=base_config.azure_openai_endpoint,
26+
27+
endpoint = first_env_var("azure_openai_endpoint", "assistant__azure_openai_endpoint")
28+
return AzureOpenAIServiceConfig.model_construct(
29+
azure_openai_endpoint=endpoint,
3030
azure_openai_deployment=deployment_name,
31-
auth_config=base_config.auth_config,
3231
)
3332

3433

assistants/document-assistant/assistant/evaluation/evaluation_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
general:
2-
assistant_name: "Document Assistant 6-13 v1"
2+
assistant_name: "Document Assistant 6-20 v1"
33
conversation_title: "GCE - Auto-Generated Conversation"
44
assistant_details: >-
55
The Document assistant you are talking with help you with things like web search and writing documents.

assistants/document-assistant/assistant/evaluation/generate_scenario.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from assistant.evaluation.config import EvaluationConfig
2222
from assistant.evaluation.pydantic_ai_utils import create_model
2323

24-
SYSTEM_PROMPT = """You are a creative scenario generator for testing AI assistants with document processing and web search capabilities.
24+
SYSTEM_PROMPT = """You are a creative scenario generator for testing AI assistants.
2525
2626
Your task is to create realistic, varied scenarios that test different aspects of the assistant's capabilities. Each scenario should:
2727
- Be distinct from all existing scenarios

assistants/document-assistant/uv.lock

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assistants/explorer-assistant/uv.lock

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assistants/knowledge-transfer-assistant/uv.lock

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assistants/navigator-assistant/uv.lock

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assistants/project-assistant/uv.lock

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)