Documentation Index
Fetch the complete documentation index at: https://www.adaline.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
LogSpanEmbeddingsContent
Span content for embedding generation calls. Use this type when logging operations that convert text into vector representations, such as calls to OpenAI’stext-embedding-3-large or similar models.
Import
Type Definition
Properties
type- Discriminator field, always'Embeddings'for this content typeinput- The embedding request as a JSON string (JSON.stringify()of the request object)output- The embedding response as a JSON string (JSON.stringify()of the response object)
input and output must be valid, parseable JSON strings (the result of JSON.stringify()). Passing a plain string that isn’t valid JSON will cause the span to be rejected.
Example
Related
- LogSpanContent — union type that includes
LogSpanEmbeddingsContent - LogSpanRetrievalContent — often used alongside embeddings for RAG pipelines
- Span — class that accepts
LogSpanContentviaspan.update()