Skip to content

Commit

Permalink
Release v0.14.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Feb 18, 2025
1 parent cc411f4 commit a72fd55
Show file tree
Hide file tree
Showing 13 changed files with 176 additions and 179 deletions.
6 changes: 3 additions & 3 deletions ad_hoc.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ func (e *EphemeralPromptCacheConfig) String() string {
return fmt.Sprintf("%#v", e)
}

// - `EPHEMERAL` - EPHEMERAL
// * `EPHEMERAL` - EPHEMERAL
type EphemeralPromptCacheConfigTypeEnum = string

// The final data event returned indicating that the stream has ended and all final resolved values from the model can be found.
Expand Down Expand Up @@ -1081,8 +1081,8 @@ func (p *PromptBlock) Accept(visitor PromptBlockVisitor) error {
return fmt.Errorf("type %T does not include a non-empty union type", p)
}

// - `ENABLED` - Enabled
// - `DISABLED` - Disabled
// * `ENABLED` - Enabled
// * `DISABLED` - Disabled
type PromptBlockState string

const (
Expand Down
8 changes: 4 additions & 4 deletions container_images.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ func (d *DockerServiceToken) String() string {
return fmt.Sprintf("%#v", d)
}

// - `DEFAULT` - Default
// - `PUBLIC` - Public
// - `PRIVATE` - Private
// - `DISABLED` - Disabled
// * `DEFAULT` - Default
// * `PUBLIC` - Public
// * `PRIVATE` - Private
// * `DISABLED` - Disabled
type EntityVisibility string

const (
Expand Down
2 changes: 1 addition & 1 deletion core/request_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (r *RequestOptions) cloneHeader() http.Header {
headers := r.HTTPHeader.Clone()
headers.Set("X-Fern-Language", "Go")
headers.Set("X-Fern-SDK-Name", "github.com/vellum-ai/vellum-client-go")
headers.Set("X-Fern-SDK-Version", "v0.14.3")
headers.Set("X-Fern-SDK-Version", "v0.14.4")
return headers
}

Expand Down
14 changes: 7 additions & 7 deletions deployments.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ type DeploymentReleaseTagRead struct {
Name string `json:"name" url:"name"`
// The source of how the Release Tag was originally created
//
// - `SYSTEM` - System
// - `USER` - User
// * `SYSTEM` - System
// * `USER` - User
Source ReleaseTagSource `json:"source" url:"source"`
// The Deployment History Item that this Release Tag is associated with
HistoryItem *DeploymentReleaseTagDeploymentHistoryItem `json:"history_item" url:"history_item"`
Expand Down Expand Up @@ -492,14 +492,14 @@ type SlimDeploymentRead struct {
Name string `json:"name" url:"name"`
// The current status of the deployment
//
// - `ACTIVE` - Active
// - `ARCHIVED` - Archived
// * `ACTIVE` - Active
// * `ARCHIVED` - Archived
Status *EntityStatus `json:"status,omitempty" url:"status,omitempty"`
// The environment this deployment is used in
//
// - `DEVELOPMENT` - Development
// - `STAGING` - Staging
// - `PRODUCTION` - Production
// * `DEVELOPMENT` - Development
// * `STAGING` - Staging
// * `PRODUCTION` - Production
Environment *EnvironmentEnum `json:"environment,omitempty" url:"environment,omitempty"`
LastDeployedOn time.Time `json:"last_deployed_on" url:"last_deployed_on"`
InputVariables []*VellumVariable `json:"input_variables" url:"input_variables"`
Expand Down
16 changes: 8 additions & 8 deletions document_indexes.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ type DocumentIndexesListRequest struct {
Search *string `json:"-" url:"search,omitempty"`
// Filter down to only document indices that have a status matching the status specified
//
// - `ACTIVE` - Active
// - `ARCHIVED` - Archived
// * `ACTIVE` - Active
// * `ARCHIVED` - Archived
Status *DocumentIndexesListRequestStatus `json:"-" url:"status,omitempty"`
}

Expand All @@ -62,7 +62,7 @@ type PatchedDocumentIndexUpdateRequest struct {
Environment *EnvironmentEnum `json:"environment,omitempty" url:"-"`
}

// - `True` - True
// * `True` - True
type AddOpenaiApiKeyEnum = bool

// Basic vectorizer for intfloat/multilingual-e5-large.
Expand Down Expand Up @@ -680,14 +680,14 @@ type DocumentIndexRead struct {
Name string `json:"name" url:"name"`
// The current status of the document index
//
// - `ACTIVE` - Active
// - `ARCHIVED` - Archived
// * `ACTIVE` - Active
// * `ARCHIVED` - Archived
Status *EntityStatus `json:"status,omitempty" url:"status,omitempty"`
// The environment this document index is used in
//
// - `DEVELOPMENT` - Development
// - `STAGING` - Staging
// - `PRODUCTION` - Production
// * `DEVELOPMENT` - Development
// * `STAGING` - Staging
// * `PRODUCTION` - Production
Environment *EnvironmentEnum `json:"environment,omitempty" url:"environment,omitempty"`
IndexingConfig *DocumentIndexIndexingConfig `json:"indexing_config" url:"indexing_config"`

Expand Down
54 changes: 27 additions & 27 deletions documents.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ type DocumentDocumentToDocumentIndex struct {
DocumentIndexId string `json:"document_index_id" url:"document_index_id"`
// An enum value representing where this document is along its indexing lifecycle for this index.
//
// - `AWAITING_PROCESSING` - Awaiting Processing
// - `QUEUED` - Queued
// - `INDEXING` - Indexing
// - `INDEXED` - Indexed
// - `FAILED` - Failed
// * `AWAITING_PROCESSING` - Awaiting Processing
// * `QUEUED` - Queued
// * `INDEXING` - Indexing
// * `INDEXED` - Indexed
// * `FAILED` - Failed
IndexingState *IndexingStateEnum `json:"indexing_state,omitempty" url:"indexing_state,omitempty"`
ExtractedTextFileUrl *string `json:"extracted_text_file_url,omitempty" url:"extracted_text_file_url,omitempty"`

Expand Down Expand Up @@ -87,11 +87,11 @@ func (d *DocumentDocumentToDocumentIndex) String() string {
return fmt.Sprintf("%#v", d)
}

// - `QUEUED` - Queued
// - `PROCESSING` - Processing
// - `PROCESSED` - Processed
// - `FAILED` - Failed
// - `UNKNOWN` - Unknown
// * `QUEUED` - Queued
// * `PROCESSING` - Processing
// * `PROCESSED` - Processed
// * `FAILED` - Failed
// * `UNKNOWN` - Unknown
type DocumentProcessingState string

const (
Expand Down Expand Up @@ -133,7 +133,7 @@ type DocumentRead struct {
ProcessingState DocumentProcessingState `json:"processing_state" url:"processing_state"`
// The current status of the document
//
// - `ACTIVE` - Active
// * `ACTIVE` - Active
Status *DocumentStatus `json:"status,omitempty" url:"status,omitempty"`
OriginalFileUrl *string `json:"original_file_url,omitempty" url:"original_file_url,omitempty"`
ProcessedFileUrl *string `json:"processed_file_url,omitempty" url:"processed_file_url,omitempty"`
Expand Down Expand Up @@ -197,14 +197,14 @@ func (d *DocumentRead) String() string {
return fmt.Sprintf("%#v", d)
}

// - `ACTIVE` - Active
// * `ACTIVE` - Active
type DocumentStatus = string

// - `AWAITING_PROCESSING` - Awaiting Processing
// - `QUEUED` - Queued
// - `INDEXING` - Indexing
// - `INDEXED` - Indexed
// - `FAILED` - Failed
// * `AWAITING_PROCESSING` - Awaiting Processing
// * `QUEUED` - Queued
// * `INDEXING` - Indexing
// * `INDEXED` - Indexed
// * `FAILED` - Failed
type IndexingStateEnum string

const (
Expand Down Expand Up @@ -280,8 +280,8 @@ func (p *PaginatedSlimDocumentList) String() string {
return fmt.Sprintf("%#v", p)
}

// - `EXCEEDED_CHARACTER_LIMIT` - Exceeded Character Limit
// - `INVALID_FILE` - Invalid File
// * `EXCEEDED_CHARACTER_LIMIT` - Exceeded Character Limit
// * `INVALID_FILE` - Invalid File
type ProcessingFailureReasonEnum string

const (
Expand Down Expand Up @@ -316,12 +316,12 @@ type SlimDocument struct {
ProcessingState DocumentProcessingState `json:"processing_state" url:"processing_state"`
// An enum value representing why the document could not be processed. Is null unless processing_state is FAILED.
//
// - `EXCEEDED_CHARACTER_LIMIT` - Exceeded Character Limit
// - `INVALID_FILE` - Invalid File
// * `EXCEEDED_CHARACTER_LIMIT` - Exceeded Character Limit
// * `INVALID_FILE` - Invalid File
ProcessingFailureReason *ProcessingFailureReasonEnum `json:"processing_failure_reason,omitempty" url:"processing_failure_reason,omitempty"`
// The document's current status.
//
// - `ACTIVE` - Active
// * `ACTIVE` - Active
Status *DocumentStatus `json:"status,omitempty" url:"status,omitempty"`
// A list of keywords associated with this document. Originally provided when uploading the document.
Keywords []string `json:"keywords,omitempty" url:"keywords,omitempty"`
Expand Down Expand Up @@ -393,11 +393,11 @@ type SlimDocumentDocumentToDocumentIndex struct {
DocumentIndexId string `json:"document_index_id" url:"document_index_id"`
// An enum value representing where this document is along its indexing lifecycle for this index.
//
// - `AWAITING_PROCESSING` - Awaiting Processing
// - `QUEUED` - Queued
// - `INDEXING` - Indexing
// - `INDEXED` - Indexed
// - `FAILED` - Failed
// * `AWAITING_PROCESSING` - Awaiting Processing
// * `QUEUED` - Queued
// * `INDEXING` - Indexing
// * `INDEXED` - Indexed
// * `FAILED` - Failed
IndexingState *IndexingStateEnum `json:"indexing_state,omitempty" url:"indexing_state,omitempty"`

extraProperties map[string]interface{}
Expand Down
5 changes: 2 additions & 3 deletions folder_entities.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ type AddEntityToFolderRequest struct {
type FolderEntitiesListRequest struct {
// Filter down to only those objects whose entities have a status matching the status specified.
//
// - `ACTIVE` - Active
// - `ARCHIVED` - Archived
// * `ACTIVE` - Active
// * `ARCHIVED` - Archived
EntityStatus *FolderEntitiesListRequestEntityStatus `json:"-" url:"entity_status,omitempty"`
// Number of results to return per page.
Limit *int `json:"-" url:"limit,omitempty"`
Expand All @@ -30,7 +30,6 @@ type FolderEntitiesListRequest struct {
//
// To filter by an entity's parent folder, provide the ID of the parent folder. To filter by the root directory, provide
// a string representing the entity type of the root directory. Supported root directories include:
//
// - PROMPT_SANDBOX
// - WORKFLOW_SANDBOX
// - DOCUMENT_INDEX
Expand Down
1 change: 0 additions & 1 deletion folderentities/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ func (c *Client) AddEntityToFolder(
ctx context.Context,
// The ID of the folder to which the entity should be added. This can be a UUID of a folder, or the name of a root
// directory. Supported root directories include:
//
// - PROMPT_SANDBOX
// - WORKFLOW_SANDBOX
// - DOCUMENT_INDEX
Expand Down
6 changes: 3 additions & 3 deletions organizations.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
core "github.com/vellum-ai/vellum-client-go/core"
)

// - `AUTO_ACCEPT_FROM_SHARED_DOMAIN` - Auto-Accept from Shared Domain
// - `ALLOW_REQUESTS_FROM_SHARED_DOMAIN` - Allows Requests from Shared Domains
// - `REQUIRE_EXPLICIT_INVITE` - Require Explicit Invite
// * `AUTO_ACCEPT_FROM_SHARED_DOMAIN` - Auto-Accept from Shared Domain
// * `ALLOW_REQUESTS_FROM_SHARED_DOMAIN` - Allows Requests from Shared Domains
// * `REQUIRE_EXPLICIT_INVITE` - Require Explicit Invite
type NewMemberJoinBehaviorEnum string

const (
Expand Down
21 changes: 10 additions & 11 deletions test_suite_runs.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ type TestSuiteRunCreateRequest struct {

type TestSuiteRunsListExecutionsRequest struct {
// The response fields to expand for more information.
//
// - 'results.metric_results.metric_label' expands the metric label for each metric result.
// - 'results.metric_results.metric_definition' expands the metric definition for each metric result.
// - 'results.metric_results.metric_definition.name' expands the metric definition name for each metric result.
Expand Down Expand Up @@ -2500,11 +2499,11 @@ type TestSuiteRunRead struct {
TestSuite *TestSuiteRunTestSuite `json:"test_suite" url:"test_suite"`
// The current state of this run
//
// - `QUEUED` - Queued
// - `RUNNING` - Running
// - `COMPLETE` - Complete
// - `FAILED` - Failed
// - `CANCELLED` - Cancelled
// * `QUEUED` - Queued
// * `RUNNING` - Running
// * `COMPLETE` - Complete
// * `FAILED` - Failed
// * `CANCELLED` - Cancelled
State TestSuiteRunState `json:"state" url:"state"`
// Configuration that defines how the Test Suite should be run
ExecConfig *TestSuiteRunExecConfig `json:"exec_config,omitempty" url:"exec_config,omitempty"`
Expand Down Expand Up @@ -2565,11 +2564,11 @@ func (t *TestSuiteRunRead) String() string {
return fmt.Sprintf("%#v", t)
}

// - `QUEUED` - Queued
// - `RUNNING` - Running
// - `COMPLETE` - Complete
// - `FAILED` - Failed
// - `CANCELLED` - Cancelled
// * `QUEUED` - Queued
// * `RUNNING` - Running
// * `COMPLETE` - Complete
// * `FAILED` - Failed
// * `CANCELLED` - Cancelled
type TestSuiteRunState string

const (
Expand Down
Loading

0 comments on commit a72fd55

Please sign in to comment.