openlit
Version:
OpenTelemetry-native Auto instrumentation library for monitoring LLM Applications, facilitating the integration of observability into your GenAI-driven projects
100 lines (99 loc) • 4.18 kB
TypeScript
export default class SemanticConvention {
static GEN_AI_ENDPOINT: string;
static GEN_AI_SYSTEM: string;
static GEN_AI_ENVIRONMENT: string;
static GEN_AI_APPLICATION_NAME: string;
static GEN_AI_OPERATION: string;
static GEN_AI_HUB_OWNER: string;
static GEN_AI_HUB_REPO: string;
static GEN_AI_RETRIEVAL_SOURCE: string;
static GEN_AI_REQUESTS: string;
static GEN_AI_REQUEST_MODEL: string;
static GEN_AI_REQUEST_TEMPERATURE: string;
static GEN_AI_REQUEST_TOP_P: string;
static GEN_AI_REQUEST_TOP_K: string;
static GEN_AI_REQUEST_MAX_TOKENS: string;
static GEN_AI_REQUEST_IS_STREAM: string;
static GEN_AI_REQUEST_USER: string;
static GEN_AI_REQUEST_SEED: string;
static GEN_AI_REQUEST_FREQUENCY_PENALTY: string;
static GEN_AI_REQUEST_PRESENCE_PENALTY: string;
static GEN_AI_REQUEST_ENCODING_FORMATS: string;
static GEN_AI_REQUEST_EMBEDDING_DIMENSION: string;
static GEN_AI_REQUEST_TOOL_CHOICE: string;
static GEN_AI_REQUEST_AUDIO_VOICE: string;
static GEN_AI_REQUEST_AUDIO_RESPONSE_FORMAT: string;
static GEN_AI_REQUEST_AUDIO_SPEED: string;
static GEN_AI_REQUEST_FINETUNE_STATUS: string;
static GEN_AI_REQUEST_FINETUNE_MODEL_SUFFIX: string;
static GEN_AI_REQUEST_FINETUNE_MODEL_EPOCHS: string;
static GEN_AI_REQUEST_FINETUNE_MODEL_LRM: string;
static GEN_AI_REQUEST_FINETUNE_BATCH_SIZE: string;
static GEN_AI_REQUEST_VALIDATION_FILE: string;
static GEN_AI_REQUEST_TRAINING_FILE: string;
static GEN_AI_REQUEST_IMAGE_SIZE: string;
static GEN_AI_REQUEST_IMAGE_QUALITY: string;
static GEN_AI_REQUEST_IMAGE_STYLE: string;
static GEN_AI_USAGE_INPUT_TOKENS: string;
static GEN_AI_USAGE_OUTPUT_TOKENS: string;
static GEN_AI_USAGE_TOTAL_TOKENS: string;
static GEN_AI_USAGE_COST: string;
static GEN_AI_RESPONSE_ID: string;
static GEN_AI_RESPONSE_FINISH_REASON: string;
static GEN_AI_RESPONSE_IMAGE: string;
static GEN_AI_RESPONSE_IMAGE_SIZE: string;
static GEN_AI_RESPONSE_IMAGE_QUALITY: string;
static GEN_AI_RESPONSE_IMAGE_STYLE: string;
static GEN_AI_CONTENT_PROMPT: string;
static GEN_AI_CONTENT_COMPLETION: string;
static GEN_AI_CONTENT_REVISED_PROMPT: string;
static GEN_AI_OPERATION_TYPE_CHAT: string;
static GEN_AI_OPERATION_TYPE_EMBEDDING: string;
static GEN_AI_OPERATION_TYPE_IMAGE: string;
static GEN_AI_OPERATION_TYPE_AUDIO: string;
static GEN_AI_OPERATION_TYPE_FINETUNING: string;
static GEN_AI_OPERATION_TYPE_VECTORDB: string;
static GEN_AI_OPERATION_TYPE_FRAMEWORK: string;
static GEN_AI_SYSTEM_HUGGING_FACE: string;
static GEN_AI_SYSTEM_OPENAI: string;
static GEN_AI_SYSTEM_AZURE_OPENAI: string;
static GEN_AI_SYSTEM_ANTHROPIC: string;
static GEN_AI_SYSTEM_COHERE: string;
static GEN_AI_SYSTEM_MISTRAL: string;
static GEN_AI_SYSTEM_AWS_BEDROCK: string;
static GEN_AI_SYSTEM_VERTEXAI: string;
static GEN_AI_SYSTEM_LANGCHAIN: string;
static DB_REQUESTS: string;
static DB_SYSTEM: string;
static DB_SYSTEM_CHROMA: string;
static DB_SYSTEM_PINECONE: string;
static DB_COLLECTION_NAME: string;
static DB_OPERATION: string;
static DB_OPERATION_CREATE_INDEX: string;
static DB_OPERATION_QUERY: string;
static DB_OPERATION_DELETE: string;
static DB_OPERATION_UPDATE: string;
static DB_OPERATION_UPSERT: string;
static DB_OPERATION_GET: string;
static DB_OPERATION_ADD: string;
static DB_OPERATION_PEEK: string;
static DB_ID_COUNT: string;
static DB_VECTOR_COUNT: string;
static DB_METADATA_COUNT: string;
static DB_DOCUMENTS_COUNT: string;
static DB_QUERY_LIMIT: string;
static DB_OFFSET: string;
static DB_WHERE_DOCUMENT: string;
static DB_FILTER: string;
static DB_STATEMENT: string;
static DB_N_RESULTS: string;
static DB_DELETE_ALL: string;
static DB_INDEX_NAME: string;
static DB_INDEX_DIMENSION: string;
static DB_INDEX_METRIC: string;
static DB_INDEX_SPEC: string;
static DB_NAMESPACE: string;
static DB_UPDATE_METADATA: string;
static DB_UPDATE_VALUES: string;
static DB_UPDATE_ID: string;
}