Skip to content

release: 1.5.0 #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
779e665
feat(api): OpenAPI spec update via Stainless API (#26)
stainless-app[bot] Jun 14, 2024
26bce7f
feat(api): OpenAPI spec update via Stainless API (#28)
stainless-app[bot] Jun 14, 2024
0e5cd4c
feat(api): OpenAPI spec update via Stainless API (#29)
stainless-app[bot] Jun 14, 2024
b421ceb
feat(api): OpenAPI spec update via Stainless API (#30)
stainless-app[bot] Jun 14, 2024
c0c12ac
feat(api): OpenAPI spec update via Stainless API (#31)
stainless-app[bot] Jun 14, 2024
ffa0e45
feat(api): OpenAPI spec update via Stainless API (#32)
stainless-app[bot] Jun 14, 2024
713c110
feat(api): update via SDK Studio (#33)
stainless-app[bot] Jun 14, 2024
d861801
feat(api): OpenAPI spec update via Stainless API (#34)
stainless-app[bot] Jun 14, 2024
ec115a7
feat(api): OpenAPI spec update via Stainless API (#35)
stainless-app[bot] Jun 14, 2024
31babcf
feat(api): OpenAPI spec update via Stainless API (#36)
stainless-app[bot] Jun 14, 2024
bd3daa3
feat(api): OpenAPI spec update via Stainless API (#37)
stainless-app[bot] Jun 14, 2024
1402f2f
feat(api): OpenAPI spec update via Stainless API (#38)
stainless-app[bot] Jun 14, 2024
c90c017
feat(api): OpenAPI spec update via Stainless API (#39)
stainless-app[bot] Jun 15, 2024
440a1ef
feat(api): OpenAPI spec update via Stainless API (#40)
stainless-app[bot] Jun 15, 2024
a179686
feat(api): OpenAPI spec update via Stainless API (#41)
stainless-app[bot] Jun 15, 2024
656da5d
feat(api): OpenAPI spec update via Stainless API (#42)
stainless-app[bot] Jun 15, 2024
1d62298
feat(api): OpenAPI spec update via Stainless API (#43)
stainless-app[bot] Jun 15, 2024
a06c11e
feat(api): OpenAPI spec update via Stainless API (#44)
stainless-app[bot] Jun 15, 2024
03801e8
feat(api): OpenAPI spec update via Stainless API (#45)
stainless-app[bot] Jun 15, 2024
45c2688
feat(api): OpenAPI spec update via Stainless API (#46)
stainless-app[bot] Jun 15, 2024
09b0213
feat(api): OpenAPI spec update via Stainless API (#47)
stainless-app[bot] Jun 16, 2024
c973744
release: 1.5.0
stainless-app[bot] Jun 16, 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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.4.0"
".": "1.5.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 21
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prompt-foundry%2Fprompt-foundry-sdk-e2cae3fe1d0a839dbd41f4120ff919c13c241c083c00c50f9ce005f8709bd447.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prompt-foundry%2Fprompt-foundry-sdk-f5886a3736b6bd1bfb39dfe79ed98e15ca62147af86bc8dcbffb6106877c6b95.yml
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# Changelog

## 1.5.0 (2024-06-16)

Full Changelog: [v1.4.0...v1.5.0](https://github.com/prompt-foundry/typescript-sdk/compare/v1.4.0...v1.5.0)

### Features

* **api:** OpenAPI spec update via Stainless API ([#26](https://github.com/prompt-foundry/typescript-sdk/issues/26)) ([779e665](https://github.com/prompt-foundry/typescript-sdk/commit/779e66597e79a6c2b09f6158af285c71ce2a3f78))
* **api:** OpenAPI spec update via Stainless API ([#28](https://github.com/prompt-foundry/typescript-sdk/issues/28)) ([26bce7f](https://github.com/prompt-foundry/typescript-sdk/commit/26bce7fb09559f2f1122fda6aca8e137666f71dd))
* **api:** OpenAPI spec update via Stainless API ([#29](https://github.com/prompt-foundry/typescript-sdk/issues/29)) ([0e5cd4c](https://github.com/prompt-foundry/typescript-sdk/commit/0e5cd4cd6eea9b2163dda9e1b5bfe94622f6ed50))
* **api:** OpenAPI spec update via Stainless API ([#30](https://github.com/prompt-foundry/typescript-sdk/issues/30)) ([b421ceb](https://github.com/prompt-foundry/typescript-sdk/commit/b421ceb13bcc430792da099c8df5ac472a52943f))
* **api:** OpenAPI spec update via Stainless API ([#31](https://github.com/prompt-foundry/typescript-sdk/issues/31)) ([c0c12ac](https://github.com/prompt-foundry/typescript-sdk/commit/c0c12acc81462901689883d05f9b9b3fe04e6f8e))
* **api:** OpenAPI spec update via Stainless API ([#32](https://github.com/prompt-foundry/typescript-sdk/issues/32)) ([ffa0e45](https://github.com/prompt-foundry/typescript-sdk/commit/ffa0e45fb343b88108c9cfeea75ea126d688ad26))
* **api:** OpenAPI spec update via Stainless API ([#34](https://github.com/prompt-foundry/typescript-sdk/issues/34)) ([d861801](https://github.com/prompt-foundry/typescript-sdk/commit/d8618015c4dc4f9d0c403ade5b9ea738241710af))
* **api:** OpenAPI spec update via Stainless API ([#35](https://github.com/prompt-foundry/typescript-sdk/issues/35)) ([ec115a7](https://github.com/prompt-foundry/typescript-sdk/commit/ec115a710be77e75883c792b3e71292d9851e53a))
* **api:** OpenAPI spec update via Stainless API ([#36](https://github.com/prompt-foundry/typescript-sdk/issues/36)) ([31babcf](https://github.com/prompt-foundry/typescript-sdk/commit/31babcf0f9c48f186bc3903a15c8720a8b242360))
* **api:** OpenAPI spec update via Stainless API ([#37](https://github.com/prompt-foundry/typescript-sdk/issues/37)) ([bd3daa3](https://github.com/prompt-foundry/typescript-sdk/commit/bd3daa3304f861ea3c50d6875c85b1c591a6122c))
* **api:** OpenAPI spec update via Stainless API ([#38](https://github.com/prompt-foundry/typescript-sdk/issues/38)) ([1402f2f](https://github.com/prompt-foundry/typescript-sdk/commit/1402f2f161db75c70d52c678598a8250fe47660a))
* **api:** OpenAPI spec update via Stainless API ([#39](https://github.com/prompt-foundry/typescript-sdk/issues/39)) ([c90c017](https://github.com/prompt-foundry/typescript-sdk/commit/c90c0179d866de0bdaee46b8dfbb7c21b64ba45c))
* **api:** OpenAPI spec update via Stainless API ([#40](https://github.com/prompt-foundry/typescript-sdk/issues/40)) ([440a1ef](https://github.com/prompt-foundry/typescript-sdk/commit/440a1efbf06b08f14cbc6a18310557c0d51f6c78))
* **api:** OpenAPI spec update via Stainless API ([#41](https://github.com/prompt-foundry/typescript-sdk/issues/41)) ([a179686](https://github.com/prompt-foundry/typescript-sdk/commit/a179686ebdfd5e4a7f44ce6eb8095f45de4c8602))
* **api:** OpenAPI spec update via Stainless API ([#42](https://github.com/prompt-foundry/typescript-sdk/issues/42)) ([656da5d](https://github.com/prompt-foundry/typescript-sdk/commit/656da5d02c88ed2274a629950b79e5ca82440854))
* **api:** OpenAPI spec update via Stainless API ([#43](https://github.com/prompt-foundry/typescript-sdk/issues/43)) ([1d62298](https://github.com/prompt-foundry/typescript-sdk/commit/1d6229875603fd3f4d593d0842e36d996646062e))
* **api:** OpenAPI spec update via Stainless API ([#44](https://github.com/prompt-foundry/typescript-sdk/issues/44)) ([a06c11e](https://github.com/prompt-foundry/typescript-sdk/commit/a06c11e65c29567fd4422913c37a286459933cd1))
* **api:** OpenAPI spec update via Stainless API ([#45](https://github.com/prompt-foundry/typescript-sdk/issues/45)) ([03801e8](https://github.com/prompt-foundry/typescript-sdk/commit/03801e88e3037bfcbe1ae2346aed19905399602b))
* **api:** OpenAPI spec update via Stainless API ([#46](https://github.com/prompt-foundry/typescript-sdk/issues/46)) ([45c2688](https://github.com/prompt-foundry/typescript-sdk/commit/45c2688bc4892d68e4677d44e0d6e956607b7ba7))
* **api:** OpenAPI spec update via Stainless API ([#47](https://github.com/prompt-foundry/typescript-sdk/issues/47)) ([09b0213](https://github.com/prompt-foundry/typescript-sdk/commit/09b021396337afc3ac65ab8909fb5adb777f0c26))
* **api:** update via SDK Studio ([#33](https://github.com/prompt-foundry/typescript-sdk/issues/33)) ([713c110](https://github.com/prompt-foundry/typescript-sdk/commit/713c110d476a85e3e96f85502a68c6690f299f7f))

## 1.4.0 (2024-06-14)

Full Changelog: [v1.3.0...v1.4.0](https://github.com/prompt-foundry/typescript-sdk/compare/v1.3.0...v1.4.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prompt-foundry/typescript-sdk",
"version": "1.4.0",
"version": "1.5.0",
"description": "The official TypeScript library for the Prompt Foundry API",
"author": "Prompt Foundry <dev-feedback@promptfoundry.ai>",
"types": "dist/index.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions src/resources/evaluations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export namespace Evaluation {
*/
content: string | null;

role: 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL';
role: 'user' | 'assistant' | 'system' | 'tool';

toolCallId: string | null;

Expand Down Expand Up @@ -142,7 +142,7 @@ export namespace EvaluationCreateParams {
*/
content: string | null;

role: 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL';
role: 'user' | 'assistant' | 'system' | 'tool';

toolCallId: string | null;

Expand Down Expand Up @@ -207,7 +207,7 @@ export namespace EvaluationUpdateParams {
*/
content: string | null;

role: 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL';
role: 'user' | 'assistant' | 'system' | 'tool';

toolCallId: string | null;

Expand Down
25 changes: 11 additions & 14 deletions src/resources/prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export namespace PromptConfiguration {
*/
content: string | null;

role: 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL';
role: 'user' | 'assistant' | 'system' | 'tool';

toolCallId: string | null;

Expand Down Expand Up @@ -362,14 +362,13 @@ export namespace PromptConfiguration {
*/
seed: number | null;

stream: boolean;

/**
* Example: 1
*/
temperature: number;

/**
* Example: "checkWeather"
*/
toolChoice: string | null;

/**
Expand Down Expand Up @@ -431,7 +430,7 @@ export namespace PromptCreateParams {
*/
content: string | null;

role: 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL';
role: 'user' | 'assistant' | 'system' | 'tool';

toolCallId: string | null;

Expand Down Expand Up @@ -502,14 +501,13 @@ export namespace PromptCreateParams {
*/
seed: number | null;

stream: boolean;

/**
* Example: 1
*/
temperature: number;

/**
* Example: "checkWeather"
*/
toolChoice: string | null;

/**
Expand Down Expand Up @@ -543,7 +541,7 @@ export namespace PromptUpdateParams {
*/
content: string | null;

role: 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL';
role: 'user' | 'assistant' | 'system' | 'tool';

toolCallId: string | null;

Expand Down Expand Up @@ -614,14 +612,13 @@ export namespace PromptUpdateParams {
*/
seed: number | null;

stream: boolean;

/**
* Example: 1
*/
temperature: number;

/**
* Example: "checkWeather"
*/
toolChoice: string | null;

/**
Expand Down Expand Up @@ -669,7 +666,7 @@ export namespace PromptGetParametersParams {
*/
content: string | null;

role: 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL';
role: 'user' | 'assistant' | 'system' | 'tool';

toolCallId: string | null;

Expand Down Expand Up @@ -718,7 +715,7 @@ export namespace PromptGetParametersParams {
*/
content: string | null;

role: 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL';
role: 'user' | 'assistant' | 'system' | 'tool';

toolCallId: string | null;

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '1.4.0'; // x-release-please-version
export const VERSION = '1.5.0'; // x-release-please-version
24 changes: 12 additions & 12 deletions tests/api-resources/evaluations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('resource evaluations', () => {
appendedMessages: [
{
content: 'string',
role: 'USER',
role: 'user',
toolCallId: 'string',
toolCalls: [
{ toolCallId: 'string', type: 'function', function: { arguments: 'string', name: 'string' } },
Expand All @@ -24,7 +24,7 @@ describe('resource evaluations', () => {
},
{
content: 'string',
role: 'USER',
role: 'user',
toolCallId: 'string',
toolCalls: [
{ toolCallId: 'string', type: 'function', function: { arguments: 'string', name: 'string' } },
Expand All @@ -34,7 +34,7 @@ describe('resource evaluations', () => {
},
{
content: 'string',
role: 'USER',
role: 'user',
toolCallId: 'string',
toolCalls: [
{ toolCallId: 'string', type: 'function', function: { arguments: 'string', name: 'string' } },
Expand All @@ -60,7 +60,7 @@ describe('resource evaluations', () => {
appendedMessages: [
{
content: 'string',
role: 'USER',
role: 'user',
toolCallId: 'string',
toolCalls: [
{ toolCallId: 'string', type: 'function', function: { arguments: 'string', name: 'string' } },
Expand All @@ -70,7 +70,7 @@ describe('resource evaluations', () => {
},
{
content: 'string',
role: 'USER',
role: 'user',
toolCallId: 'string',
toolCalls: [
{ toolCallId: 'string', type: 'function', function: { arguments: 'string', name: 'string' } },
Expand All @@ -80,7 +80,7 @@ describe('resource evaluations', () => {
},
{
content: 'string',
role: 'USER',
role: 'user',
toolCallId: 'string',
toolCalls: [
{ toolCallId: 'string', type: 'function', function: { arguments: 'string', name: 'string' } },
Expand All @@ -99,7 +99,7 @@ describe('resource evaluations', () => {
appendedMessages: [
{
content: 'string',
role: 'USER',
role: 'user',
toolCallId: 'string',
toolCalls: [
{ toolCallId: 'string', type: 'function', function: { arguments: 'string', name: 'string' } },
Expand All @@ -109,7 +109,7 @@ describe('resource evaluations', () => {
},
{
content: 'string',
role: 'USER',
role: 'user',
toolCallId: 'string',
toolCalls: [
{ toolCallId: 'string', type: 'function', function: { arguments: 'string', name: 'string' } },
Expand All @@ -119,7 +119,7 @@ describe('resource evaluations', () => {
},
{
content: 'string',
role: 'USER',
role: 'user',
toolCallId: 'string',
toolCalls: [
{ toolCallId: 'string', type: 'function', function: { arguments: 'string', name: 'string' } },
Expand All @@ -145,7 +145,7 @@ describe('resource evaluations', () => {
appendedMessages: [
{
content: 'string',
role: 'USER',
role: 'user',
toolCallId: 'string',
toolCalls: [
{ toolCallId: 'string', type: 'function', function: { arguments: 'string', name: 'string' } },
Expand All @@ -155,7 +155,7 @@ describe('resource evaluations', () => {
},
{
content: 'string',
role: 'USER',
role: 'user',
toolCallId: 'string',
toolCalls: [
{ toolCallId: 'string', type: 'function', function: { arguments: 'string', name: 'string' } },
Expand All @@ -165,7 +165,7 @@ describe('resource evaluations', () => {
},
{
content: 'string',
role: 'USER',
role: 'user',
toolCallId: 'string',
toolCalls: [
{ toolCallId: 'string', type: 'function', function: { arguments: 'string', name: 'string' } },
Expand Down
Loading