INITIALIZATION Knowledgebase: ki-dev-large Base Query: how to create index in pinecone? Model: gemini-1.5-pro-preview-0409 Use Curl?: None ================================================== **Elapsed Time: 0.00 seconds** ================================================== ROUTING Query type: research ================================================== **Elapsed Time: 2.18 seconds** ================================================== RAG PARAMETERS Max Context To Include: 20 Lowest Score to Consider: 0.5 ================================================== **Elapsed Time: 0.14 seconds** ================================================== VECTOR SEARCH ALGORITHM TO USE Use MMR search?: False Use Similarity search?: True ================================================== **Elapsed Time: 0.10 seconds** ================================================== VECTOR SEARCH DONE ================================================== **Elapsed Time: 0.61 seconds** ================================================== PRIMER Primer: You are Simon, a highly intelligent personal assistant in a system called KIOS. You are a chatbot that can read knowledgebases through the "CONTEXT" that is included in the user's chat message. Your role is to act as an expert at reading the information provided by the user and giving the most relevant information. In your responses to enterprise users, prioritize clarity, trustworthiness, and appropriate formality. Be honest by admitting when a topic falls outside your scope of knowledge, and suggest alternative avenues for obtaining information when necessary. Make effective use of chat history to avoid redundancy and enhance response relevance, continuously adapting to integrate all necessary details in your interactions. Focus on precision and accuracy of your answers information. ================================================== **Elapsed Time: 0.00 seconds** ================================================== FINAL QUERY Final Query: CONTEXT: ########## File: docs-pinecone-io-reference-api-2024-07-control-plane-create_index-!path-source-5Fcollection-t-request-669.txt Page: 1 Context: Pinecone Docs home page 2024-07 (latest) Search or ask... Status Support Log In Sign up free Home Guides Reference Examples Models New Integrations Troubleshooting Releases REST APIs Introduction Versioning Database API Data plane Control plane GET List indexes POST Create an index GET Describe an index DEL Delete an index PATCH Configure an index GET List collections POST Create a collection GET Describe a collection DEL Delete a collection Inference API Assistant API SDKs Introduction Python SDK Node.js SDK Java SDK Go SDK .NET SDK Rust SDK Tools Pinecone datasets Pinecone text client Pinecone Spark connector Architecture Serverless architecture Pod-based architecture Miscellaneous Quotas and limits Known limitations Security CONTROL PLANE Create an index This operation deploys a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more. For guidance and examples, see Create an index. POST / indexes Authorizations Api-Key string header required An API Key is required to call Pinecone APIs. Get yours from the console. Body application/json name string required The name of the index. Resource name must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'. dimension integer required The dimensions of the vectors to be inserted in the index. metric enum default: cosine The distance metric to be used for similarity search. You can use 'euclidean', 'cosine', or 'dotproduct'. Available options: cosine, euclidean, dotproduct deletion_protection enum default: disabled Whether deletion protection is enabled/disabled for the index. Available options: disabled, enabled spec object required The spec object defines how the index should be deployed. ########## """QUERY: how to create index in pinecone?""" Consider the chat history for relevant information.Important: Take a look at the QUERY and only the QUERY. If this is vague or unclear, please ignore everything and ask a follow-up question instead! Final Files Sources: docs-pinecone-io-reference-api-2024-07-control-plane-create_index-!path-source-5Fcollection-t-request-669.txt - Page 1 ================================================== **Elapsed Time: 0.00 seconds** ================================================== FINAL ANSWER Answer: This document outlines how to create an index in Pinecone, including specifying parameters like the similarity measure, vector dimensions, and cloud provider. For detailed guidance and examples, refer to the "Create an index" section. ================================================== **Elapsed Time: 1.91 seconds** ==================================================