Commit graph

324 commits

Author SHA1 Message Date
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
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
Ted Sanders
b59f105ed1 polishes wording in a few places 2023-05-05 13:06:43 -07:00
joeywhelan
403b15893c Fix Redis supported client list 2023-05-03 15:46:46 -06:00
colin-openai
21d1834e5f
Merge pull request #390 from acatav/agent_with_langchain_pinecone_docs
[Pinecone]: Add link for creating Pinecone API key and environment variable to pinecone init
2023-05-03 11:32:15 +01:00
Amnon Catav
7164818de5 add links to pinecone and add env var to index 2023-05-02 21:55:33 +03:00
liuliu
abdb53c9b1
fix: some typo and add execution command sample (#299)
* fix: some typo and add execution command sample

* fix: some typo and add execution command sample

1. hybrid-search-with-weaviate-and-openai.ipynb

* fix: some typo and add execution command sample

1. question-answering-with-weaviate-and-openai.ipynb
2023-05-02 10:43:44 -07:00
colin-openai
021604a0fb
Merge pull request #356 from openai/conversational_agent_with_tools
Merge conversational LLM with tools example using LangChain
2023-05-02 09:36:56 +01:00
Colin Jarvis
e9d1a94e4c Made further wording changes 2023-05-02 09:36:09 +01:00
Colin Jarvis
97319dd69a Fixing merge issues 2023-05-02 09:30:35 +01:00
Colin Jarvis
257d0cd9e1 Fixing merge conflicts 2023-05-02 09:21:39 +01:00
Colin Jarvis
2e333c9423 Pushing renamed notebook with changed wording based on Ted's comments 2023-05-02 09:18:38 +01:00
Ted Sanders
8b049378cd
Merge pull request #361 from eltociear/patch-3
Update Getting_started_with_AnalyticDB_and_OpenAI.ipynb
2023-05-01 16:51:11 -07:00
qingdi
7fcba408f1
🌟 MyScale VectorStore Support (#377)
* add myscale notebook

* add myscale to vector database notebook
2023-05-01 16:46:51 -07:00
Ted Sanders
7ee1c6c0d1
Merge pull request #369 from wey-gu/patch-1
chore: fixed broken URL in markdown
2023-05-01 11:01:22 -07:00
jiangying
4d59bafe25
add jtokkit to How_to_count_tokens_with_tiktoken.ipynb 2023-04-28 12:24:51 +08:00
Wey Gu
f8bf577df9
chore: fixed broken URL in markdown 2023-04-24 16:25:15 +08:00
Ted Sanders
54246459bd removes old references to query and doc models 2023-04-20 21:38:35 -07:00
Ted Sanders
793384ff3b
Merge pull request #336 from Hannibal046/patch-2
Fix bugs at api_request_parallel_processor.py
2023-04-20 19:14:01 -07:00
Ikko Eltociear Ashimine
0565b90ddc
Update Getting_started_with_AnalyticDB_and_OpenAI.ipynb
PostgresSQL -> PostgreSQL
2023-04-21 03:32:55 +09:00
joe-at-openai
2b6f6392b1 More updates to preamble and code comments 2023-04-18 10:57:56 -07:00
joe-at-openai
2965304e35 Update preamble and code comments 2023-04-18 10:46:25 -07:00
Alice Chen
a8add5b4c6
[Fix] Typo and grammar fix in Question_answering_using_embeddings.ipynb 2023-04-18 13:32:33 +08:00
Colin Jarvis
d8e5160ce5 Added wget URL for zipped podcasts 2023-04-17 09:31:35 -07:00
Colin Jarvis
19aefa9002 Initial commit of conversational agent with TODO remaining 2023-04-17 07:44:11 -07:00
Eugene Yan
4f67e0cf43
Update the section token count from 1,000 to 1,600
This resolves the mismatch between the values in markdown cell and code cell.
2023-04-15 13:01:02 -07:00
Ted Sanders
53a34ea1cc updates example command to be consistent with text 2023-04-14 15:53:42 -07:00
Ted Sanders
091e8e8579 updates README table of contents 2023-04-14 12:52:53 -07:00
Ted Sanders
3e854a3e82
Merge pull request #344 from openai/ted/update-qa-example
updates Q&A example to use gpt-3.5-turbo
2023-04-14 12:39:52 -07:00
Ted Sanders
df88ad86d4 updates Q&A example to use gpt-3.5-turbo 2023-04-14 12:38:42 -07:00
Logan Kilpatrick
028b51f188
Merge pull request #341 from jasonbosco/add-typesense-readme
Add README for Typesense
2023-04-14 12:44:21 -05:00
colin-openai
9012742f38
Merge pull request #238 from liuliuOD/fix/vector_databases
fix: about spelling and command
2023-04-14 04:35:50 -07:00
Jason Bosco
a98f0d27d7 Add README for Typesense 2023-04-14 11:29:44 +05:30
Hannibal046
ab0f7c1bd5
Update api_request_parallel_processor.py
fixed bug for non-serializable Error
2023-04-12 23:05:05 +08:00
Ted Sanders
b658e8d1cc
Merge pull request #325 from bricker/patch-1
Typo fix in Multiclass_classification_for_transactions.ipynb
2023-04-11 19:30:21 -07:00
James Briggs
b71a70a435 update wget to new langchain docs url 2023-04-10 17:57:47 +07:00
Bryan Ricker
32faca403c
Typo fix in Multiclass_classification_for_transactions.ipynb 2023-04-09 15:36:55 -07:00
Ted Sanders
4c31db4987
Merge pull request #321 from wangxuqi/add_analyticdb_vector_database_example
Add getting started with AnalyticDB distributed vector database example
2023-04-07 10:28:30 -07:00
xuqi.wxq
94acedc6ba Add getting started with AnalyticDB distributed vector database and OpenAI example. 2023-04-07 12:49:39 +08:00
Anton Troynikov
1deea48511
Add Chroma to Vector Database examples (#262)
* Vector store notebook

* HyDE with Chroma

* Cleaner text

* add swyx edits

* Cleaned up text / outputs

* Spelling nits

* Fixed comment format

---------

Co-authored-by: swyx <shawnthe1@gmail.com>
2023-04-06 16:30:10 -07:00
liuliu
f15616cb20 fix: typo, grammar and link
1. examples/.../zilliz/Getting_started_with_Zilliz_and_OpenAI.ipynb
2023-03-31 14:18:39 +08:00
liuliu
8983cf7df7 fix: typo and grammar
1. examples/.../zilliz/Filtered_search_with_Zilliz_and_OpenAI.ipynb
2023-03-31 14:01:55 +08:00
liuliu
be64945407 revert: spelling adjustment in examples/
1. a -> an in getting-started-with-redis-and-openai.ipynb
2023-03-29 09:53:06 +08:00
Andriy Mulyar
1c05442070
Visualizing Embeddings with Atlas (#152)
* Embedding visualization in Atlas

* Updated Atlas Visualization Example

* Atlas for Embedding Visualization: removed extra outputs

* Rename Atlas_for_visualizing_embeddings.ipynb to Visualizing_embeddings_with_Atlas.ipynb
2023-03-28 16:11:05 -07:00
Jason Bosco
da19a7e3eb
Add Typesense example to vector databases (#277)
* Add Typesense example to vector databases

* Fix typo

* Add to intro section
2023-03-28 15:37:41 -07:00
Filip Haltmayer
5c94ed3b9e
Zilliz integration and Milvus bugfixes (#259)
* integrating zilliz and fixing milvus bugs

Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>

* Adding Milvus and Zilliz notebooks

Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>

* cleaned outputs of shared notebook

Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>

---------

Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>
2023-03-28 15:36:24 -07:00
Christian Mürtz
b2d2b57a34
[Azure] Chat completions example (#271)
* Added notebook for chat completions on Azure

* Added pointer from README
2023-03-28 13:25:34 -07:00
Ted Sanders
2eb3cc1fd5
Merge pull request #280 from jamescalam/pinecone-updates
Pinecone updates
2023-03-28 10:24:49 -07:00
dmitry-brazhenko
be1f1187bd added sharptoken as exampel 2023-03-28 17:31:14 +02:00
Ted Sanders
7622aa1d20 updates description of token counting function 2023-03-25 00:14:45 -07:00
James Briggs
8b397868f3 added new notebooks 2023-03-25 11:33:55 +07:00