Skip to content

Commit

Permalink
fix(openapi): update maximum silence duration and rename schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Nov 30, 2024
1 parent 6a04ab8 commit 2604e7d
Showing 1 changed file with 42 additions and 25 deletions.
67 changes: 42 additions & 25 deletions fern/apis/api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -8994,7 +8994,7 @@
"type": "number",
"description": "How many seconds of silence to wait before ending the call. Defaults to 30.\n\n@default 30",
"minimum": 10,
"maximum": 600,
"maximum": 3600,
"example": 30
},
"maxDurationSeconds": {
Expand Down Expand Up @@ -9398,7 +9398,7 @@
"type": "number",
"description": "How many seconds of silence to wait before ending the call. Defaults to 30.\n\n@default 30",
"minimum": 10,
"maximum": 600,
"maximum": 3600,
"example": 30
},
"maxDurationSeconds": {
Expand Down Expand Up @@ -10832,7 +10832,7 @@
"type": "number",
"description": "How many seconds of silence to wait before ending the call. Defaults to 30.\n\n@default 30",
"minimum": 10,
"maximum": 600,
"maximum": 3600,
"example": 30
},
"maxDurationSeconds": {
Expand Down Expand Up @@ -11260,7 +11260,7 @@
"type": "number",
"description": "How many seconds of silence to wait before ending the call. Defaults to 30.\n\n@default 30",
"minimum": 10,
"maximum": 600,
"maximum": 3600,
"example": 30
},
"maxDurationSeconds": {
Expand Down Expand Up @@ -12485,7 +12485,7 @@
"costs"
]
},
"ChargeDTO": {
"CreditsBuyDTO": {
"type": "object",
"properties": {
"credits": {
Expand Down Expand Up @@ -12656,7 +12656,7 @@
"members"
]
},
"TrieveKnowledgeBaseSearchPlan": {
"TrieveKnowledgeBaseVectorStoreSearchPlan": {
"type": "object",
"properties": {
"removeStopWords": {
Expand All @@ -12669,7 +12669,7 @@
},
"searchType": {
"type": "string",
"description": "This is the searching plan used when searching for relevant chunks from the vector store.\nYou should configure this if you're running into these issues:\n- Too much unnecessary context is being fed as knowledge base context.\n- Not enough relevant context is being fed as knowledge base context.",
"description": "This is the search method used when searching for relevant chunks from the vector store.",
"enum": [
"fulltext",
"semantic",
Expand All @@ -12682,11 +12682,10 @@
"searchType"
]
},
"TrieveKnowledgeBaseChunkPlan": {
"TrieveKnowledgeBaseVectorStoreCreatePlan": {
"type": "object",
"properties": {
"fileIds": {
"description": "These are the parameters used to chunk the documents into smaller segments.\nYou should configure this if you're running into these issues:\n- Each context chunk is too large.\n- If knowledge base document is too complex and not working well for providing relevant context.\n- If you want available preprocessing steps to be applied to the document before chunking.",
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -12726,15 +12725,24 @@
"type": "string",
"description": "This is the name of the knowledge base."
},
"searchPlan": {
"$ref": "#/components/schemas/TrieveKnowledgeBaseSearchPlan"
"vectorStoreSearchPlan": {
"description": "This is the plan on how to search the vector store while a call is going on.",
"allOf": [
{
"$ref": "#/components/schemas/TrieveKnowledgeBaseVectorStoreSearchPlan"
}
]
},
"chunkPlan": {
"$ref": "#/components/schemas/TrieveKnowledgeBaseChunkPlan"
"vectorStoreCreatePlan": {
"description": "This is the plan if you want us to create a new vector store on your behalf. To use an existing vector store from your account, use `vectoreStoreProviderId`",
"allOf": [
{
"$ref": "#/components/schemas/TrieveKnowledgeBaseVectorStoreCreatePlan"
}
]
},
"datasetId": {
"type": "string",
"description": "This is the optional tracking id for BYOK & custom index."
"vectorStoreProviderId": {
"type": "string"
},
"id": {
"type": "string",
Expand All @@ -12747,7 +12755,7 @@
},
"required": [
"provider",
"searchPlan",
"vectorStoreSearchPlan",
"id",
"orgId"
]
Expand Down Expand Up @@ -12839,20 +12847,29 @@
"type": "string",
"description": "This is the name of the knowledge base."
},
"searchPlan": {
"$ref": "#/components/schemas/TrieveKnowledgeBaseSearchPlan"
"vectorStoreSearchPlan": {
"description": "This is the plan on how to search the vector store while a call is going on.",
"allOf": [
{
"$ref": "#/components/schemas/TrieveKnowledgeBaseVectorStoreSearchPlan"
}
]
},
"chunkPlan": {
"$ref": "#/components/schemas/TrieveKnowledgeBaseChunkPlan"
"vectorStoreCreatePlan": {
"description": "This is the plan if you want us to create a new vector store on your behalf. To use an existing vector store from your account, use `vectoreStoreProviderId`",
"allOf": [
{
"$ref": "#/components/schemas/TrieveKnowledgeBaseVectorStoreCreatePlan"
}
]
},
"datasetId": {
"type": "string",
"description": "This is the optional tracking id for BYOK & custom index."
"vectorStoreProviderId": {
"type": "string"
}
},
"required": [
"provider",
"searchPlan"
"vectorStoreSearchPlan"
]
},
"ConversationBlock": {
Expand Down

0 comments on commit 2604e7d

Please sign in to comment.