In the course it keeps using ‘EMBEDDING_API_KEY’ in. the header as below, but the question is how can I get this so called EMBEDDING_API_KEY? Seems the Palm will be deprecated soon and no matter what I tried with Gemini API key or other Google AI keys, it never worked. Any advise? Thanks.
The thing is in Weaviate documentation, they say this is deprecated a suggest another page which is the following:
It this page, it is mentioned that the new headers are the following:
additional_headers = {
“X-Google-Vertex-Api-Key”: “YOUR-VERTEX-API-KEY”, # Replace with your API key
“X-Google-Studio-Api-Key”: “YOUR-AI-STUDIO-API-KEY”, # Replace with your API key
}
but when I use these keys in the header I get an error regarding not including “X-PALM-Api-Key”.