请问embedding模型也经过xinference 吗?另外直接调用星火的llm的openai形式的api,请问怎么配置?好像教程写的不是很清楚。 #33
This file contains 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
name: label_ad_issue | |
on: | |
issues: | |
types: | |
- opened | |
jobs: | |
label_ad_issue: | |
runs-on: ubuntu-latest | |
environment: Scheduled GITHUB_OWNER publish | |
steps: | |
- env: | |
GH_TOKEN: ${{ secrets.GITHUB_OWNER_TOKEN }} | |
ISSUE_URL: ${{ github.event.issue.html_url }} | |
ISSUE_TITLE: ${{ github.event.issue.title }} | |
run: | | |
stat=no | |
AD_KEYWORDS=(download crack "serial key" "license key" "product key" "free download" "full version" "full crack" "full keygen" "full license" "full activation" "full serial") | |
ISSUE_TITLE_LOWER=$(echo $ISSUE_TITLE | tr '[:upper:]' '[:lower:]') | |
for KEYWORD in ${AD_KEYWORDS[@]}; do | |
if [[ $ISSUE_TITLE_LOWER == *$KEYWORD* ]] && [[ $ISSUE_TITLE_LOWER != *input* ]]; then | |
stat=yes | |
break | |
fi | |
done | |
if [[ $stat == yes ]]; then | |
echo "Issue title contains advertisement keywords." | |
gh issue delete $ISSUE_URL --yes | |
fi |