You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add support for modifying files and file_set support (#4)
* Add support for modifying files and file_set support
* Bump version
* Updated file sets to use name everywhere
* Bump to 0.4.0
* Added cli support for file and fileset (#5)
* Added cli support for file and fileset
* Back to .4.0
* Typo
* Add some basic tests to confirm that array stuff works
* Added a test for multiple prompts.
* refactor retriever endpoint (#6)
* Make higherlevel have class methods so you can call with openai.HigherLevel.answer (#7)
* refactor retriever endpoint
* Actually just make everything a classmethod so you can call it like openai.HigherLevel
* Rename file_sets to collections everywhere (#8)
* Rename file_sets to collections everywhere
* Remove collections (#10)
* Higherlevel endpoints now point to /v1 (#11)
* Higherlevel endpoints now point to v1
* new line
* Move answer and classification to top level attributes, rename higherlevel (#12)
* Move answer and classification to top level attributes
* New namespaces for answers and classifications
* Meant to make the method create
* Go up the class stack since we don't need all the things that engineapiresource gives us
* Add file support to search (#13)
* Add file support to search
* Add support for max_rerank
* Added return_metadata support
* Fixed some cherry pick issues
help="List of documents to search over. Only one of `documents` or `file` may be supplied.",
357
+
required=False,
358
+
)
359
+
sub.add_argument(
360
+
"-f",
361
+
"--file",
362
+
help="A file id to search over. Only one of `documents` or `file` may be supplied.",
363
+
required=False,
364
+
)
365
+
sub.add_argument(
366
+
"--max_rerank",
367
+
help="The maximum number of documents to be re-ranked and returned by search. This flag only takes effect when `file` is set.",
368
+
type=int,
369
+
default=200,
370
+
)
371
+
sub.add_argument(
372
+
"--return_metadata",
373
+
help="A special boolean flag for showing metadata. If set `true`, each document entry in the returned json will contain a 'metadata' field. Default to be `false`. This flag only takes effect when `file` is set.",
0 commit comments