Qdrant, Google Cloud, Azure, Openai Api, Retrieval Augmented Gen.
Function to generate completion from prompt def generate_completion(prompt): response = model.generate_content(prompt) return response.text # Function to embed Queries def embed_query(Question): return np.array(list(embedding_model.embed([Question]))) # Initialize Qdrant Client client =