Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not issue but need embedding for azure openai #8

Open
rayuduak opened this issue Jun 4, 2024 · 0 comments
Open

Not issue but need embedding for azure openai #8

rayuduak opened this issue Jun 4, 2024 · 0 comments

Comments

@rayuduak
Copy link

rayuduak commented Jun 4, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant