Commit Graph

273 Commits

Author SHA1 Message Date
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
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
Ted Sanders
24782325d2
Merge pull request #374 from wangxuqi/analyticdb_langchain_example
Add QA with Langchain of AnalyticDB  vector store and OpenAI example.
2023-05-12 10:25:31 -07:00
Michael Yuan
95747294f5 Redis hybrid VSS queries notebook 2023-05-11 19:25:59 -04:00
joeywhelan
b3ef4e3ad3 Add Redis Q&A example 2023-05-11 13:48:24 -06:00
Anshul Sharma
7634abf68d kusto vector sample added 2023-05-11 11:06:34 +08:00
joeywhelan
d505735974 Add Redis JSON w/VSS examples 2023-05-10 12:51:06 -06:00
Ted Sanders
c14432efe7 fixes grammar 2023-05-08 17:15:58 -07:00
xuqi.wxq
d12cb6c43b Add QA with Langchain of AnalyticDB vector store and OpenAI example. 2023-05-06 11:09:56 +08:00
Ted Sanders
594fc6c952
Merge pull request #391 from joeywhelan/fix-redisclients
Fix Redis supported client list
2023-05-05 15:27:46 -07:00
aiqinxuancai
23bd266fef
Update How_to_count_tokens_with_tiktoken.ipynb (#368)
* Update How_to_count_tokens_with_tiktoken.ipynb

add c# tiktoken lib.

* Update How_to_count_tokens_with_tiktoken.ipynb

fix format.

* Update How_to_count_tokens_with_tiktoken.ipynb

fix format.
2023-05-05 13:09:05 -07:00