Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
2f04c66
Added pipeline to build embeddings
raych1 Mar 15, 2024
e50b402
Added secret variables
raych1 Mar 15, 2024
299a6f0
Updated nuget.config
raych1 Mar 15, 2024
b60c178
Updated yml file
raych1 Mar 15, 2024
b1cf977
Updated working directory in the script
raych1 Mar 15, 2024
f2e8a09
Fixed script issue
raych1 Mar 15, 2024
0e78a03
Fixed script name case issue
raych1 Mar 15, 2024
bcf84d1
Fixed working directory value
raych1 Mar 15, 2024
c0ca0c1
checkout enghub repo in yml
raych1 Mar 15, 2024
c951e6e
updated the enghub checkout url
raych1 Mar 15, 2024
f8efa44
Checkout sdk tools repo
raych1 Mar 15, 2024
48a9980
Updated repo folders
raych1 Mar 16, 2024
9ebadac
Updated path of script file
raych1 Mar 16, 2024
74dfa32
Fixed checkout path in the yml file
raych1 Mar 16, 2024
94328e6
Introduce common jobs to setup env
raych1 Mar 16, 2024
869776e
Fixed syntax error in yml
raych1 Mar 16, 2024
2040a01
Use stages
raych1 Mar 16, 2024
cd23ba4
Fixed dependsOn error
raych1 Mar 16, 2024
f5bb2dd
Fixed stage dependson
raych1 Mar 16, 2024
f1e45ef
Updated pipeline file name
raych1 Mar 16, 2024
00d8ff5
Added common pipeline template
raych1 Mar 16, 2024
a6ee185
Enable local run for the script
raych1 Mar 18, 2024
4802758
Added two more stages in pipeline yml
raych1 Mar 18, 2024
d5ce93b
Updated github repo url
raych1 Mar 18, 2024
acba8dd
Removed the typespec repo stage temporaily
raych1 Mar 18, 2024
93d1908
list python package installed
raych1 Mar 18, 2024
d69483a
Use python -m command
raych1 Mar 18, 2024
8185ce9
Print content of installed python packages
raych1 Mar 18, 2024
e42b504
Added debug script
raych1 Mar 18, 2024
ceb0471
Redirect log stream
raych1 Mar 18, 2024
0673c86
comment measure-command
raych1 Mar 18, 2024
136147d
Output log by variables
raych1 Mar 18, 2024
5a004ec
Use liunx agent pool
raych1 Mar 19, 2024
5eb4c1b
Added conda python env
raych1 Mar 19, 2024
e157841
Use pwsh shell
raych1 Mar 19, 2024
a7672b6
Use windows os
raych1 Mar 19, 2024
7cff8ac
Use pwsh step
raych1 Mar 19, 2024
37a019e
Use full path to conda
raych1 Mar 19, 2024
e3e7550
Added conda init
raych1 Mar 19, 2024
825b5fd
Run conda with full path
raych1 Mar 19, 2024
d774e31
Call python thur conda env
raych1 Mar 19, 2024
1968ac9
Install conda in pwsh
raych1 Mar 19, 2024
bfa51c1
debug variables
raych1 Mar 20, 2024
139b63f
Use conda for local run too
raych1 Mar 20, 2024
8ad1029
make blob container configurable
raych1 Mar 20, 2024
99b3620
Add missing ending brace
raych1 Mar 20, 2024
4013183
Added condapath to output
raych1 Mar 20, 2024
8946f61
Test without conda
raych1 Mar 22, 2024
489ab6f
Delete python version parameter
raych1 Mar 22, 2024
7ddf6e4
Use same source path when checkout one repo only
raych1 Mar 22, 2024
c571ac5
Remove conda env
raych1 Mar 25, 2024
9f7bc6b
Updated customizedDocEmbeddings script path
raych1 Mar 25, 2024
bad10b2
Use 3.11 python version
raych1 Mar 25, 2024
9b3f69b
Added typespec embeddings build step
raych1 Mar 25, 2024
800dae7
Remove conda call
raych1 Mar 25, 2024
5178dad
Use raw content url for downloading
raych1 Mar 26, 2024
f576de9
Removed python version setting
raych1 Mar 26, 2024
2065794
Recover the list of customized document
raych1 Mar 26, 2024
0f80819
Output key in metadata file
raych1 Mar 26, 2024
bb8ad60
Variables have to be set in env rather than .py
raych1 Mar 26, 2024
f76f5ff
Merge branch 'main' into user/raych1/add-pipeline
raych1 Mar 26, 2024
82ee5d9
Added codeowner
raych1 Mar 26, 2024
7dd251e
Disable pr trigger
raych1 Mar 26, 2024
d64c40b
Updated readme.md
raych1 Mar 26, 2024
ce79176
Remove renhe temporarily
raych1 Mar 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Output log by variables
  • Loading branch information
raych1 committed Mar 18, 2024
commit 136147d5afe6cf2bb0e9923bbd0507a99c7a5f52
16 changes: 8 additions & 8 deletions tools/sdk-ai-bots/Scripts/Common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -96,20 +96,20 @@ function Build-Embeddings {
python -m pip install --upgrade pip

Write-Host "Check requirements.txt file"
Get-Content -Path "requirements.txt" 2>&1
Get-Content -Path "requirements.txt"

Write-Host "Installing required packages"
python -m pip install -r requirements.txt 2>&1
python -m pip install -r requirements.txt

Write-Host "Check current directory"
Get-Location 2>&1
$currentDir = Get-Location
Write-Host "Current directory: $currentDir"

Write-Host "List package versions..."
python -m pip list > pip_list.txt 2>&1
Write-Host "Check pip_list.txt file"
Test-Path "pip_list.txt" 2>&1
python -m pip list > pip_list.txt

Write-Host "Print the content of pip_list.txt"
Get-Content -Path "pip_list.txt" 2>&1
$installedPkg = Get-Content -Path "pip_list.txt"
Write-Host $installedPkg

Write-Host "Starts building"
python main.py
Expand Down