OpenAIEmbeddingProvider

UMLClass
Skill Seekers :: skill_seekers :: Embedding :: OpenAIEmbeddingProvider

Description

OpenAI embedding provider. Supports text-embedding-ada-002, text-embedding-3-small, text-embedding-3-large.

Generalized Elements

Attributes

Visibility Name Type Description
private model str
private api_key str
private _client OpenAI
public PRICING dict
public DIMENSIONS dict

Operations

Visibility Name Description
public generate_embeddings()
public get_dimension()
public estimate_cost()
private _get_client()

Properties

Name Value
name OpenAIEmbeddingProvider
stereotype null
visibility public
isAbstract false
isFinalSpecialization false
isLeaf false
isActive false

Relationships

Owned Elements

Diagrams