🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(api): add environment to ingestion spec (#5735)
Hassieb Pakzad0fd1f065bdae
diff --git a/fern/apis/server/definition/ingestion.yml b/fern/apis/server/definition/ingestion.ymlindex 78f211be37..911cbfd131 100644--- a/fern/apis/server/definition/ingestion.yml+++ b/fern/apis/server/definition/ingestion.yml@@ -168,6 +168,7 @@ types:statusMessage: optional<string>parentObservationId: optional<string>version: optional<string>+ environment: optional<string>CreateEventBody:extends: OptionalObservationBody@@ -232,6 +233,7 @@ types:level: optional<commons.ObservationLevel>statusMessage: optional<string>parentObservationId: optional<string>+ environment: optional<string>TraceBody:properties:@@ -246,6 +248,7 @@ types:version: optional<string>metadata: optional<unknown>tags: optional<list<string>>+ environment: optional<string>public:type: optional<boolean>docs: Make trace publicly accessible via url@@ -259,6 +262,7 @@ types:id: optional<string>traceId: stringname: string+ environment: optional<string>value:type: commons.CreateScoreValuedocs: The value of the score. Must be passed as string for categorical scores, and numeric for boolean and numeric scores. Boolean score values must equal either 1 or 0 (true or false)diff --git a/web/public/generated/api/openapi.yml b/web/public/generated/api/openapi.ymlindex 4557b75c4b..6453eb0dee 100644--- a/web/public/generated/api/openapi.yml+++ b/web/public/generated/api/openapi.yml@@ -3755,6 +3755,9 @@ components:version:type: stringnullable: true+ environment:+ type: string+ nullable: trueCreateEventBody:title: CreateEventBodytype: object@@ -3922,6 +3925,9 @@ components:parentObservationId:type: stringnullable: true+ environment:+ type: string+ nullable: truerequired:- typeTraceBody:@@ -3961,6 +3967,9 @@ components:items:type: stringnullable: true+ environment:+ type: string+ nullable: truepublic:type: booleannullable: true@@ -3985,6 +3994,9 @@ components:name:type: stringexample: novelty+ environment:+ type: string+ nullable: truevalue:$ref: '#/components/schemas/CreateScoreValue'description: >-