Skip to content

Commit

Permalink
Fixed package bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperAlexander committed Apr 10, 2023
1 parent ac2004c commit 88a918e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changeset/bright-snakes-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"text-to-aitext": patch
"file-to-text": patch
---

Fixed package bundle
2 changes: 1 addition & 1 deletion packages/file-to-text/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: [/test/, /node_modules/],
exclude: /node_modules/,
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion packages/text-to-aitext/dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @param apiUrl The url of the completion API, defaults to https://api.openai.com/v1/completions
* @param apiKey The key of the API
* @param user A unique identifier representing the user
* @param model The model to use, defaults to gpt-3.5-turbo for chat, otherwise text-davinci-003
* @param model The model to use, defaults to gpt-3.5-turbo if apiUrl includes chat, otherwise text-davinci-003
* @param prompt The text or messages to convert
* @param maxTokens The maximum number of tokens to generate, defaults to 128
* @param stream Whether to stream back partial progress, defaults to false
Expand Down
2 changes: 1 addition & 1 deletion packages/text-to-aitext/dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/text-to-aitext/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: [/test/, /node_modules/],
exclude: /node_modules/,
},
],
},
Expand Down

0 comments on commit 88a918e

Please sign in to comment.