Skip to content

Not issue but need embedding for azure openai #8

@rayuduak

Description

@rayuduak

def get_embedding_function():
embeddings = BedrockEmbeddings(
credentials_profile_name="default", region_name="us-east-1"
)
# embeddings = OllamaEmbeddings(model="nomic-embed-text")
return embeddings

Can we have similar function using Azure OPENAI
Wondering where is the text passed to this embedding? Sorry novice

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions