Overview
Generative AI applications are essential to the modern enterprise. However, building these applications can be challenging and expensive, especially when they need to conform to enterprise security and scalability standards. The Scale GenAI Platform provides the full-stack capabilities enterprises need to rapidly develop and deploy Generative AI applications for custom use cases. These capabilities include loading custom data sources, indexing data into vector stores, running inference, and executing agents that can carry out intricate tasks with efficiency and precision.
import requests
url = "https://api.egp.scale.com/v3/knowledge-bases"
payload = {
"embedding_config": {
"type": "base",
"embedding_model": "openai/text-embedding-3-large"
},
"knowledge_base_name": "myknowledge_base"
}
headers = {
"accept": "application/json",
"content-type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)