File tree Expand file tree Collapse file tree 6 files changed +40
-10
lines changed Expand file tree Collapse file tree 6 files changed +40
-10
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ service:
1111 docs : Retrieve the usage histogram analytics for a given period
1212 path : /histogram/{domain}
1313 method : GET
14+ audiences :
15+ - internal
1416 path-parameters :
1517 domain : string
1618 request :
@@ -33,6 +35,8 @@ service:
3335 docs : Retrieve the insights for a given period
3436 path : /insights/{domain}
3537 method : GET
38+ audiences :
39+ - internal
3640 path-parameters :
3741 domain : string
3842 request :
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ service:
1111 docs : Create a docs chat completion for a given domain
1212 path : /{domain}
1313 method : POST
14+ audiences :
15+ - customers
1416 path-parameters :
1517 domain : string
1618 request :
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ service:
1111 docs : Retrieve a complete conversation by conversation id
1212 path : /{domain}/{conversation_id}
1313 method : GET
14+ audiences :
15+ - customers
1416 path-parameters :
1517 domain : string
1618 conversation_id : string
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ service:
1111 docs : Index a document for a given domain
1212 path : /{domain}
1313 method : POST
14+ audiences :
15+ - customers
1416 path-parameters :
1517 domain : string
1618 request :
@@ -27,7 +29,7 @@ service:
2729 context :
2830 type : list<string>
2931 docs : The context of the document, as a list of strings, that will be indexed.
30- content :
32+ document :
3133 type : string
3234 docs : The content of the document that will be returned in the tool response
3335 errors :
@@ -54,6 +56,8 @@ service:
5456 docs : Update a document for a given domain
5557 path : /{domain}/update
5658 method : POST
59+ audiences :
60+ - customers
5761 path-parameters :
5862 domain : string
5963 request :
@@ -68,22 +72,40 @@ service:
6872 context :
6973 type : list<string>
7074 docs : The context of the document, as a list of strings, that will be indexed.
71- content :
75+ document :
7276 type : string
7377 docs : The content of the document that will be returned in the tool response. If not provided, the document will be removed from the index.
7478 response : ContextResponse
7579 errors :
7680 - commons.BadRequestError
7781 - commons.InternalError
7882
83+ syncToQueryIndex :
84+ docs : Sync an index with the query index
85+ path : /{domain}/sync
86+ method : POST
87+ audiences :
88+ - internal
89+ path-parameters :
90+ domain : string
91+ request :
92+ name : SyncIndexRequest
93+ query-parameters :
94+ index_name :
95+ type : string
96+ docs : The name of the index to sync
97+ errors :
98+ - commons.BadRequestError
99+ - commons.InternalError
100+
79101types :
80102 ContextResponse :
81103 properties :
82104 document_id : string
83105 domain : string
84106 context_id : string
85107 context : list<string>
86- content : string
108+ document : string
87109 is_active : boolean
88110 created_at : datetime
89111 updated_at : datetime
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ service:
1212 docs : Log a new query to the FAI DB
1313 path : /queries
1414 method : POST
15+ audiences :
16+ - internal
1517 request :
1618 name : CreateQueryRequest
1719 body :
@@ -34,6 +36,8 @@ service:
3436 docs : Retrieve all paginated recent queries
3537 path : /queries/{domain}
3638 method : GET
39+ audiences :
40+ - internal
3741 path-parameters :
3842 domain :
3943 type : string
Original file line number Diff line number Diff line change @@ -19,12 +19,8 @@ navigation:
1919 api-name : fai
2020 icon : fa-regular fa-pro
2121 paginated : true
22+ audiences :
23+ - customers
2224 layout :
2325 - page : Overview
24- path : ./pages/getting-started/api-get-started.mdx
25- - chat :
26- - endpoint : chat.chatCompletion
27- - index :
28- - endpoint : index.indexDocument
29- - endpoint : index.getDocument
30- - endpoint : index.updateDocument
26+ path : ./pages/getting-started/api-get-started.mdx
You can’t perform that action at this time.
0 commit comments