Skip to content

Commit

Permalink
chore: move under providers directory (run-llama#1349)
Browse files Browse the repository at this point in the history
  • Loading branch information
himself65 authored Oct 20, 2024
1 parent cf28574 commit 04714c8
Show file tree
Hide file tree
Showing 58 changed files with 150 additions and 144 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
run: pnpm run build

- name: Pre Release
run: pnpx pkg-pr-new publish ./packages/* ./packages/llm/*
run: pnpx pkg-pr-new publish ./packages/* ./packages/providers/*
14 changes: 2 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,19 +146,9 @@ jobs:
echo "Skipping $dir, no package.json found"
fi
done
- name: Pack llm packages
- name: Pack provider packages
run: |
for dir in packages/llm/*; do
if [ -d "$dir" ] && [ -f "$dir/package.json" ]; then
echo "Packing $dir"
pnpm pack --pack-destination ${{ runner.temp }} -C $dir
else
echo "Skipping $dir, no package.json found"
fi
done
- name: Pack embedding packages
run: |
for dir in packages/embedding/*; do
for dir in packages/providers/*; do
if [ -d "$dir" ] && [ -f "$dir/package.json" ]; then
echo "Packing $dir"
pnpm pack --pack-destination ${{ runner.temp }} -C $dir
Expand Down
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.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"dependencies": {
"@llamaindex/core": "workspace:*",
"@llamaindex/env": "workspace:*",
"openai": "^4.60.0",
"openai": "^4.68.1",
"remeda": "^2.12.0"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,18 @@ export const GPT4_MODELS = {
"gpt-4-turbo-2024-04-09": { contextWindow: 128000 },
"gpt-4-0314": { contextWindow: 128000 },
"gpt-4-32k-0314": { contextWindow: 32768 },
"gpt-4o-realtime-preview": {
contextWindow: 128000,
},
"gpt-4o-realtime-preview-2024-10-01": {
contextWindow: 128000,
},
"gpt-4o-audio-preview": {
contextWindow: 128000,
},
"gpt-4o-audio-preview-2024-10-01": {
contextWindow: 128000,
},
};

// NOTE we don't currently support gpt-3.5-turbo-instruct and don't plan to in the near future
Expand Down
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.
Loading

0 comments on commit 04714c8

Please sign in to comment.