-
Notifications
You must be signed in to change notification settings - Fork 113
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
Adding samples on embeddings architectures #2
base: main
Are you sure you want to change the base?
Conversation
import azure.functions as func | ||
|
||
account_name = os.environ["azure_table_account_name"] | ||
account_key = os.environ["azure_table_key"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not table key, rather "Azure_Storage_key" or "Storage_Account_Key"
import openai | ||
import azure.functions as func | ||
|
||
account_name = os.environ["azure_table_account_name"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Azure_Storage_Name" or "Storage_Account_Name"
"source": [ | ||
"for i, row in documents_df.iloc[0:100].iterrows(): # for simplicity, only processing the first 100 documents\n", | ||
"\n", | ||
" embedding = get_embedding(row['content'], TEXT_SEARCH_EMBEDDING_ENGINE)\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Limit embedding to some specific float values otherwise it exceeds the 32KB limit of the table column
@paragagrawal11 @dereklegenzoff : This PR seems stuck. @gojira Can you please review and approve? |
No description provided.