LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
  • RemoteGraph
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDKRemoteGraph
Language
Theme
Pythonlangsmithasync_clientAsyncClientcreate_annotation_queue
Method●Since v0.3

create_annotation_queue

Create an annotation queue on the LangSmith API.

Copy
create_annotation_queue(
  self,
  *,
  name: str,
  description: Optional[str] = None,
  queue_id: Optional[ID_TYPE] = None,
  rubric_instructions: Optional[str] = None,
  rubric_items: Optional[list[ls_schemas.AnnotationQueueRubricItem]] = None
) -> ls_schemas.AnnotationQueue

Parameters

NameTypeDescription
name*str

The name of the annotation queue.

descriptionOptional[str]
Default:None

The description of the annotation queue.

queue_idOptional[Union[UUID, str]]
Default:None

The ID of the annotation queue.

rubric_instructionsOptional[str]
Default:None

The rubric instructions for the annotation queue.

rubric_itemsOptional[list[ls_schemas.AnnotationQueueRubricItem]]
Default:None

The feedback configs to assign to this queue's rubric.

View source on GitHub