Simón Fishman
b3a41db9da
fix date typo ( #640 )
2023-08-16 17:38:48 -07:00
Shyamal H Anadkat
9f63c4863e
Adds reference to SummEval ( #639 )
2023-08-16 14:20:22 -07:00
Simón Fishman
1d73635488
various minor improvements ( #638 )
2023-08-16 10:53:54 -07:00
Shyamal H Anadkat
346617e8fd
adds notebook on abstractive summarization eval ( #637 )
2023-08-16 10:25:42 -07:00
prestontuggle
4912564dc1
adds one function calling notebook ( #629 )
...
* adds one function calling notebook
* reordered imports and ran all cells
* fixed comma error
2023-08-11 20:34:29 -04:00
prestontuggle
0933dd1569
adds two Whisper guides ( #628 )
...
* adds two Whisper guides
* polishing
* fixes function argument misordering
---------
Co-authored-by: Ted Sanders <ted@openai.com>
2023-08-11 16:11:19 -04:00
Shantanu Nair
8e6e058c6a
Fix function description ( #626 )
2023-08-09 10:34:59 -07:00
Anton Troynikov
3115683f14
Update notebooks ( #598 )
2023-07-24 15:59:33 -07:00
richzw
964dd85ed3
add tiktoken-go to How_to_count_tokens_with_tiktoken.ipynb ( #605 )
2023-07-24 15:54:52 -07:00
Krista Pratico
5e050080ab
[azure] add functions notebook sample ( #595 )
...
* add azure functions notebook sample
* update api key to use env var + note use of env vars over config in code across azure samples
2023-07-21 16:38:49 -07:00
ancri
b5ea5f3b0e
consolidate Embedding.create calls into one ( #543 )
2023-07-20 20:20:04 -07:00
Tomas Dulka
4fd2b1a6d2
replace eval with safer literal_eval ( #561 )
2023-07-17 16:40:54 -07:00
Sebastian Witalec
3bd18cc07d
fix markdown typo on a link ( #591 )
2023-07-17 15:53:44 -07:00
Alex Dhillon
9dad13d05b
simplify pretty print ( #575 )
2023-07-16 14:22:46 -07:00
Yoav Farhi
5c1d46ade7
Update the actual number of results used in generating the final answer ( #587 )
...
The comment mentions 20, but it actually uses 5
2023-07-13 10:47:49 -07:00
Moiz Sajid
e4c4d3baa9
Updated README.md in examples/vector_databases ( #581 )
...
Added the links to the missing vector databases
2023-07-12 12:28:45 -07:00
Ikko Eltociear Ashimine
e983502569
Fix typo in QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb ( #582 )
...
futher -> further
2023-07-12 12:28:14 -07:00
Jason M
cd62830788
Update How_to_call_functions_with_chat_models.ipynb ( #545 )
...
Updates "min" parameter to "multiplier". Should run the same.
2023-07-11 17:38:33 -07:00
liuchengshan-lcs
238ff54fce
Add getting started with PolarDB vector database and OpenAI example. ( #489 )
2023-07-11 17:13:26 -07:00
Douglas Blank
6d0ffe31a9
Added notebook example for visualizing embeddings in Kangas ( #469 )
...
* Added notebook example for visualizing embeddings in Kangas
Plots UMAP projection space, one per row, in open source Kangas DataGrid.
For more information about Kangas, see: https://github.com/comet-ml/kangas
* Moved notebook to third_party_examples
2023-07-11 17:11:16 -07:00
Eli
bd91363afa
Enhancements and Refactoring of Python Code Extraction Methods ( #467 )
...
* Refactor and enhance code extraction methods.
* Use f-strings to print filepaths, improving readability.
2023-07-11 17:08:37 -07:00
Ted Sanders
17858f204f
fixes token counting in translate_latex_book.ipynb ( #579 )
...
* fixes token counting in translate_latex_book.ipynb
* adds back comment
2023-07-11 17:00:38 -07:00
sun zhun
950246dd08
Update How_to_handle_rate_limits.ipynb ( #554 )
...
Replace deprecated model "code-cushman-001" with "gpt-3.5-turbo".
2023-06-29 22:23:39 -07:00
Kacper Łukawski
3ce532c03c
Refactor Qdrant notebooks ( #556 )
...
* Upgrade Qdrant to 1.3.0
* Adapt the descriptions and run the missing cells
2023-06-29 07:47:18 -07:00
colin-openai
bad59002d1
Splitting Vector Databases into individual cookbooks ( #529 )
...
* Initial commit of vector database cookbooks split out individually
* Moved notebooks to each provider's named folder and updated the README
* Removed vector DB overall cookbook in favour of individual directories
2023-06-28 01:37:01 -07:00
colin-openai
f53a22e29f
Initial commit of reranking with cross-encoder cookbook ( #483 )
...
* Initial commit of reranking with cross-encoder cookbook
* Added logit bias for Yes and No in this case
* Reran end-to-end
* Updated based on Ted's comments
* Rerun with Ted's comments
2023-06-28 00:59:23 -07:00
Filip Haltmayer
f4c67dff3c
update to token for zilliz ( #552 )
...
Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>
2023-06-27 12:53:26 -07:00
prestontuggle
3170356cc2
Adds Whisper Prompting Guide ( #551 )
2023-06-27 14:24:26 -04:00
Elmira Ghorbani
28fef26cc9
create/check data dir for arxiv's papers ( #531 )
2023-06-26 03:53:55 -07:00
Michael Yuan
6798e1ca3a
Fix wget download updated parameters ( #538 )
2023-06-26 01:45:57 -07:00
Ted Sanders
de3bd58434
Ted/update token counting 0613 ( #541 )
...
* updates tiktoken counting function
* slight rewording
* updates ChatGPT guide with new models
2023-06-23 16:45:32 -07:00
Avery Khoo
26978e9ed1
Update How_to_count_tokens_with_tiktoken.ipynb ( #511 )
...
Add support for gpt-3.5-*-0613 models
2023-06-23 16:10:30 -07:00
Stéphane G
b587f9b3d5
Fix typo in Question_answering_using_a_search_API.ipynb ( #539 )
...
"This answer which will be used to..." --> "This answer will be used to..."
2023-06-22 16:46:08 -07:00
Simon Suo
411068e736
Add example notebook for financial document analysis with LlamaIndex ( #481 )
...
* add notebook
* add pypdf install
* move
2023-06-22 13:40:49 -07:00
Matthew
90ef0f25e5
fixed typo ( #523 )
2023-06-20 15:46:46 -07:00
Simón Posada Fishman
a0e7352649
Merge pull request #519 from openai/simon/search_aug
...
Add search augmentation notebook
2023-06-16 17:37:56 -07:00
simonpfish
af7239bfda
rename image file
2023-06-16 17:37:40 -07:00
simonpfish
90863fe6d5
dummy key naming
2023-06-16 17:23:28 -07:00
simonpfish
c1946c66b7
deduplicate search results
2023-06-16 17:21:56 -07:00
Ted Sanders
38c5742ce6
renames dummy key
2023-06-16 17:03:29 -07:00
Ted Sanders
953c57af01
cleaned up notebook
2023-06-16 17:02:42 -07:00
Ted Sanders
3b37ded49c
change embedding dimensions
2023-06-16 16:45:39 -07:00
Ted Sanders
6d7954806a
polishes text
2023-06-16 16:37:32 -07:00
Ted Sanders
6d7f52fee5
removes extra period from et al.
2023-06-16 16:36:29 -07:00
Ted Sanders
8058562b75
changes search date to June 2023
2023-06-16 16:34:58 -07:00
Ted Sanders
9fabb7fa9f
joins run-on sentence
2023-06-16 16:09:11 -07:00
Ted Sanders
224d845c0f
adds missing apostrophe
2023-06-16 16:08:14 -07:00
Ted Sanders
08d2cd6732
cuts trailing spaces
2023-06-16 16:07:35 -07:00
Ted Sanders
3e997b3214
adds comment for openai package
2023-06-16 16:06:16 -07:00
Ted Sanders
a7d746a7f9
adds periods to list to be consistent with others
2023-06-16 16:03:54 -07:00
Ted Sanders
37746ff3ca
rewrites intro points to be more consistent with one another
2023-06-16 16:02:01 -07:00
Ted Sanders
02833d22bb
be -> feel
2023-06-16 15:48:36 -07:00
Ted Sanders
9ada754100
changes web URL to relative link
2023-06-16 15:47:18 -07:00
Ted Sanders
d6bb1fb146
the model -> GPT
2023-06-16 15:46:50 -07:00
Ted Sanders
842e71ef3a
the -> an
2023-06-16 15:39:49 -07:00
Ted Sanders
dafd562811
makes title formatting consistent with other examples
2023-06-16 15:39:04 -07:00
Ted Sanders
cb0da816f9
fixes link and removes empty cell
2023-06-16 10:29:01 -07:00
colin-openai
71a2414134
Merge pull request #417 from michaelskyuan/main
...
Add notebook with Redis hybrid VSS queries examples
2023-06-16 08:41:40 +01:00
simonpfish
8af8005866
address feedback
2023-06-15 21:53:12 -07:00
simonpfish
2a77e0d118
add search augmentation notebook
2023-06-15 11:49:19 -07:00
Ted Sanders
31a3a7b406
Ted/remove eval from function calling examples ( #518 )
...
* replaces eval with json.loads for better code safety
* fixes link to be relative, not URL
2023-06-15 11:22:59 -07:00
joe-at-openai
659c42e6f1
fix finish_reason
2023-06-14 11:06:42 -07:00
joe-at-openai
a8e28c2f7f
integrate improvements to original function calling notebook + factor out arxiv example into new notebook
2023-06-14 10:48:11 -07:00
colin-openai
60b12dfad1
Merge pull request #498 from pycui/pcui/fix-ask-db-func-spec
...
Fix ask_database in call functions with chat model example
2023-06-14 08:19:39 +01:00
joe-at-openai
41a5d394ca
Merge pull request #499 from openai/joe/remove-incorrect-model-name
...
fix incorrect model name
2023-06-13 17:43:52 -07:00
joe-at-openai
9943947cd9
fix incorrect model name
2023-06-13 17:27:32 -07:00
Piaoyang Cui
9079129d7b
Fix ask_database in call functions with chat model example
2023-06-13 15:41:58 -07:00
Atty Eleti
817546f0d7
Fix finish_reason in function calling cookbook
2023-06-13 12:06:31 -07:00
Logan Kilpatrick
0084f4ce6b
Rename How_to_call_functions_with_Chat_models.ipynb to How_to_call_functions_with_chat_models.ipynb
2023-06-13 12:53:43 -05:00
colin-openai
c5a7f7835d
Rename How_to_call_functions_with_chat_models.ipynb to How_to_call_functions_with_Chat_models.ipynb
...
Renaming file
2023-06-13 10:06:15 -07:00
Colin Jarvis
f920c5f65f
Removed papers
2023-06-13 18:01:34 +01:00
Colin Jarvis
d9677ebb89
Merge branch 'function_calls' of https://github.com/openai/openai-cookbook into function_calls
2023-06-13 17:59:11 +01:00
Colin Jarvis
26b0c47d5c
Fixed a couple small bugs in functions notebook
2023-06-13 17:59:09 +01:00
Ted Sanders
9ccb2a994f
tool -> function in a few places
2023-06-13 09:56:56 -07:00
Ted Sanders
280f6ef03e
fixes function name
2023-06-13 09:55:53 -07:00
Colin Jarvis
f780772dc8
Commit of function calling notebook
2023-06-13 17:48:30 +01:00
Gerardo Lecaros
05cf8703ec
Adding cookbook for using DALL-E from Azure OpenAI ( #491 )
...
* Add dalle notebook
* Fix
* Some small adjustments
* Smaller adjustments
* change flow of the notebook
* feedback
* more
* readme
* fixing typo
---------
Co-authored-by: Christian Mürtz <t-cmurtz@microsoft.com>
2023-06-12 14:01:49 -07:00
Michael Yuan
32cddbef25
implemented batcher for openai embeddings
2023-05-24 18:44:04 -04:00
Domenico Manna
a4c088d966
Add ability to store row-level metadata
...
This metadata field allows non API parameters to be stored which could
be useful for when the results need to be associated with an external
source. For example, if the user has several rows of text data within a
database, and they want to calculate embeddings for each row, they can
now use the metadata field to save the row id so that when they parse
the results back, they know which embedding corresponds to which
database row.
2023-05-23 17:19:18 -04:00
isabelaconstantin
c71d7adc97
Fix mutable default argument in APIRequest class
2023-05-23 19:46:45 +03:00
Krista Pratico
33dc207afb
[Azure] add example snippet on how to refresh AAD tokens ( #435 )
...
* add how to refresh aad tokens example
* remove accidental config
2023-05-22 17:09:33 -07:00
Gerardo Lecaros
828a6c586e
Updating azure samples to point to the latest API version ( #425 )
...
* Updating to use api version 2023-05-15
* Removing authoring references from azure samples as it is not yet present.
2023-05-22 16:09:29 -07:00
Ted Sanders
610f730144
Merge pull request #411 from anshulsharmas/main
...
Added kusto vector database sample
2023-05-22 16:07:13 -07:00
arno756
83ba1e6f49
Adding SingleStoreDB as a vector database with Python notebook ( #402 )
...
* SingleStoreDB folder
* Readme
* Readme with notebook
* S2DB notebook
* Update README.md
* Delete OpenAI_wikipedia semantic_search.ipynb
* Add files via upload
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
2023-05-22 16:05:50 -07:00
Sebastian Witalec
6d77a1b93e
Add Generative Search to Weaviate examples + fix authentication examples ( #398 )
...
* add Weaviate authentication to client configuration
* add a cookbook for generative search
* fix name
2023-05-22 16:02:28 -07:00
Ted Sanders
88c24e4289
Merge pull request #437 from openai/ted/update-unit-testing-example
...
updates unit test writing example to use gpt-3.5-turbo
2023-05-19 16:50:02 -07:00
Ted Sanders
f71e6a96a1
updates unit test writing example to use gpt-3.5-turbo
2023-05-19 16:49:12 -07:00
colin-openai
925dd22eea
Initial commit of DALL-E and Segment Anything notebook ( #406 )
...
* Initial commit of DALL-E and Segment Anything notebook
* Add example images and changed wording of the notebook
* Updated comments and added base images
* minor text amendments
* fix typo
* makes bullets more consistent
* converts title DALLE to DALL·E
* converts DALL-E to DALL·E
* update original DALL-E notebook title
* makes time of writing explicit
* makes intro bullets more consistent
* clarifies which version of Pytorch is appropriate
* moves setup instructions into setup section (to help clarify that they do not need to be done separately from the notebook)
* explains size of model checkpoint file
* code linting
* added more background info in the introduction for folks unfamiliar with segment anything
* adds period to sentence
* updates table of contents with new DALL·E guide
---------
Co-authored-by: Ted Sanders <ted@openai.com>
2023-05-19 11:18:54 -07:00
Changgeng Zhao
1000312934
Add Hologres as a vector database with python notebook example ( #404 )
...
Co-authored-by: 长更 <zhaochanggeng.zcg@alibaba-inc.com>
2023-05-19 11:16:27 -07:00
Ted Sanders
b90f835fbe
Merge pull request #424 from jamescalam/gpt-4-example-fix
...
added data creation loop
2023-05-18 17:03:13 -07:00
Ted Sanders
40c39a28a9
Merge pull request #423 from eltociear/patch-4
...
docs: fix typo in QA_with_Langchain_Qdrant_and_OpenAI.ipynb
2023-05-16 16:27:01 -07:00
Michael Yuan
47046a1c86
Changes and additions in response to PR comments
2023-05-16 13:30:14 -04:00
Michael Yuan
ea124a2db3
Changes and additions in response to PR comments
2023-05-16 13:27:16 -04:00
Michael Yuan
f6b67799e9
Changes and additions in response to PR comments
2023-05-16 12:56:57 -04:00
James Briggs
1dd1c0ef33
added data creation loop
2023-05-15 18:10:02 +08:00
colin-openai
edfbae1571
Merge pull request #415 from joeywhelan/feature-redisqna
...
Add Redis Q&A example
2023-05-14 20:47:25 +01:00
colin-openai
1eed317bbe
Merge pull request #408 from joeywhelan/feature-redisjson
...
Add Redis JSON w/VSS examples
2023-05-14 20:46:27 +01:00
Ikko Eltociear Ashimine
cd42418444
docs: fix typo in QA_with_Langchain_Qdrant_and_OpenAI.ipynb
...
futher -> further
2023-05-14 13:34:02 +09:00
joeywhelan
77276df2b0
Fix redisqna
2023-05-12 13:35:16 -06:00
joeywhelan
f69e8a4ace
Fix redisjson
2023-05-12 12:04:19 -06:00