Commit Graph

443 Commits (561b3afd6ef9fc08fbb8bbd59ba7377a232238e6)

Author SHA1 Message Date
recordcrash d9b4acd1b8 Fix UTF-8 encoding in Chat_finetuning_data_prep.ipynb (#648) 1 year ago
Eliah Kagan 1b3ef07d3e Add Tiktokenizer link in "How to count tokens" (#604)
This adds a link to Tiktokenizer webapp as another tool, in
addition to the OpenAI Tokenizer.
1 year ago
Viet Hoang Tran Duong 7e40a56075 fix undefined variables in fine tune example (#660)
`create_user_message` and `test_df` are not defined.
1 year ago
Simón Fishman c6c92acb2b update titles (#653) 1 year ago
Simón Fishman bda60c1008 more fine-tuning improvements (#652)
* more fine-tuning improvements

* add links to other resources
1 year ago
Simón Fishman 3fac4b95d2 small improvements to the fine-tuning cookbook (#651) 1 year ago
simonpfish aa2b5ba709 update fine-tuning cookbook 1 year ago
Michael Wu d639ac8f27 add ft data prep notebook (#647) 1 year ago
colin-openai 20d802b13b Pushing cookbook for fine-tuning via ChatCompletion (#646)
* Pushing cookbook for fine-tuning via ChatCompletion

* Add correct file

* Fixed bug with create_prompt function and refactored files
1 year ago
aalmaksour82 1100f84e0d Fixed JSON formatting bug in arxiv_functions (#562) 1 year ago
Ikko Eltociear Ashimine 0a857e9c5e Fix typo in redis-hybrid-query-examples.ipynb (#642)
bellow -> below
1 year ago
Simón Fishman 7719400ef0 fix date typo (#640) 1 year ago
Shyamal H Anadkat a0f7f529b9 Adds reference to SummEval (#639) 1 year ago
Simón Fishman f11682c22b various minor improvements (#638) 1 year ago
Shyamal H Anadkat b8d9b8c8a8 adds notebook on abstractive summarization eval (#637) 1 year ago
prestontuggle dd1b8980e9 adds one function calling notebook (#629)
* adds one function calling notebook

* reordered imports and ran all cells

* fixed comma error
1 year ago
prestontuggle 0a9a070436 adds two Whisper guides (#628)
* adds two Whisper guides

* polishing

* fixes function argument misordering

---------

Co-authored-by: Ted Sanders <ted@openai.com>
1 year ago
Shantanu Nair 4619f366e8 Fix function description (#626) 1 year ago
Anton Troynikov ab3e8524aa Update notebooks (#598) 1 year ago
richzw 39f1776c1a add tiktoken-go to How_to_count_tokens_with_tiktoken.ipynb (#605) 1 year ago
Krista Pratico f7266e7e4f [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
1 year ago
ancri 35b88b80ac consolidate Embedding.create calls into one (#543) 1 year ago
Tomas Dulka 8f24e11b2a replace eval with safer literal_eval (#561) 1 year ago
Sebastian Witalec ac094dd124 fix markdown typo on a link (#591) 1 year ago
Alex Dhillon 2351ec31bf simplify pretty print (#575) 1 year ago
Yoav Farhi 9db10b5805 Update the actual number of results used in generating the final answer (#587)
The comment mentions 20, but it actually uses 5
1 year ago
Moiz Sajid 04a203089c Updated README.md in examples/vector_databases (#581)
Added the links to the missing vector databases
1 year ago
Ikko Eltociear Ashimine 2a1b6c30a8 Fix typo in QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb (#582)
futher -> further
1 year ago
Jason M aadfcd040d Update How_to_call_functions_with_chat_models.ipynb (#545)
Updates "min" parameter to "multiplier". Should run the same.
1 year ago
liuchengshan-lcs a667fce73f Add getting started with PolarDB vector database and OpenAI example. (#489) 1 year ago
Douglas Blank d6acc8894f 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
1 year ago
Eli 015a401dcf Enhancements and Refactoring of Python Code Extraction Methods (#467)
* Refactor and enhance code extraction methods.

* Use f-strings to print filepaths, improving readability.
1 year ago
Ted Sanders 50ae26c0e4 fixes token counting in translate_latex_book.ipynb (#579)
* fixes token counting in translate_latex_book.ipynb

* adds back comment
1 year ago
sun zhun 71b33d8a71 Update How_to_handle_rate_limits.ipynb (#554)
Replace deprecated model "code-cushman-001" with "gpt-3.5-turbo".
1 year ago
Kacper Łukawski 645ec14ea2 Refactor Qdrant notebooks (#556)
* Upgrade Qdrant to 1.3.0

* Adapt the descriptions and run the missing cells
1 year ago
colin-openai 497c145cc0 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
1 year ago
colin-openai 5d0014ef38 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
1 year ago
Filip Haltmayer e20d05ea14 update to token for zilliz (#552)
Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>
1 year ago
prestontuggle 1fdce84deb Adds Whisper Prompting Guide (#551) 1 year ago
Elmira Ghorbani 3c4335fd6d create/check data dir for arxiv's papers (#531) 1 year ago
Michael Yuan 6cfc645229 Fix wget download updated parameters (#538) 1 year ago
Ted Sanders 4a565cdebb Ted/update token counting 0613 (#541)
* updates tiktoken counting function

* slight rewording

* updates ChatGPT guide with new models
1 year ago
Avery Khoo a9f8eb3518 Update How_to_count_tokens_with_tiktoken.ipynb (#511)
Add support for gpt-3.5-*-0613 models
1 year ago
Stéphane G 14fff371a1 Fix typo in Question_answering_using_a_search_API.ipynb (#539)
"This answer which will be used to..." --> "This answer will be used to..."
1 year ago
Simon Suo 62bf5cb61f Add example notebook for financial document analysis with LlamaIndex (#481)
* add notebook

* add pypdf install

* move
1 year ago
Matthew 4dca53fda7 fixed typo (#523) 1 year ago
Simón Posada Fishman 9940792921 Merge pull request #519 from openai/simon/search_aug
Add search augmentation notebook
1 year ago
simonpfish d4524aa079 rename image file 1 year ago
simonpfish bec1987484 dummy key naming 1 year ago
simonpfish 3b0718f930 deduplicate search results 1 year ago
Ted Sanders 87186ebc2e renames dummy key 1 year ago
Ted Sanders 447ffbc674 cleaned up notebook 1 year ago
Ted Sanders 85b5846514 change embedding dimensions 1 year ago
Ted Sanders 55e638a153 polishes text 1 year ago
Ted Sanders 3e4cbf5f13 removes extra period from et al. 1 year ago
Ted Sanders e56364d126 changes search date to June 2023 1 year ago
Ted Sanders 03e74bb9a4 joins run-on sentence 1 year ago
Ted Sanders 181b606eaf adds missing apostrophe 1 year ago
Ted Sanders 0fb6c1438e cuts trailing spaces 1 year ago
Ted Sanders cb1986a398 adds comment for openai package 1 year ago
Ted Sanders 83ebad77b8 adds periods to list to be consistent with others 1 year ago
Ted Sanders fbeaf34deb rewrites intro points to be more consistent with one another 1 year ago
Ted Sanders 8a5a5e6761 be -> feel 1 year ago
Ted Sanders 7efd0c890f changes web URL to relative link 1 year ago
Ted Sanders 55b5c25573 the model -> GPT 1 year ago
Ted Sanders e2f6018b57 the -> an 1 year ago
Ted Sanders f206d5f3ec makes title formatting consistent with other examples 1 year ago
Ted Sanders af43f516b9 fixes link and removes empty cell 1 year ago
colin-openai dda999154d Merge pull request #417 from michaelskyuan/main
Add notebook with Redis hybrid VSS queries examples
1 year ago
simonpfish 6fc4fe9498 address feedback 1 year ago
simonpfish 354e2c28cb add search augmentation notebook 1 year ago
Ted Sanders d48cc6c896 Ted/remove eval from function calling examples (#518)
* replaces eval with json.loads for better code safety

* fixes link to be relative, not URL
1 year ago
joe-at-openai c1c2d96e35 fix finish_reason 1 year ago
joe-at-openai ca51ea2c40 integrate improvements to original function calling notebook + factor out arxiv example into new notebook 1 year ago
colin-openai 537ad41561 Merge pull request #498 from pycui/pcui/fix-ask-db-func-spec
Fix ask_database in call functions with chat model example
1 year ago
joe-at-openai 8797a8070a Merge pull request #499 from openai/joe/remove-incorrect-model-name
fix incorrect model name
1 year ago
joe-at-openai d3337df7a8 fix incorrect model name 1 year ago
Piaoyang Cui f1d55808f0 Fix ask_database in call functions with chat model example 1 year ago
Atty Eleti d340e142bf Fix `finish_reason` in function calling cookbook 1 year ago
Logan Kilpatrick 23877c2c88 Rename How_to_call_functions_with_Chat_models.ipynb to How_to_call_functions_with_chat_models.ipynb 1 year ago
colin-openai e4eb6efc29 Rename How_to_call_functions_with_chat_models.ipynb to How_to_call_functions_with_Chat_models.ipynb
Renaming file
1 year ago
Colin Jarvis 8b19156cc6 Removed papers 1 year ago
Colin Jarvis eb8f2e1e10 Merge branch 'function_calls' of https://github.com/openai/openai-cookbook into function_calls 1 year ago
Colin Jarvis 9642ca5e17 Fixed a couple small bugs in functions notebook 1 year ago
Ted Sanders 43b9a5abdc tool -> function in a few places 1 year ago
Ted Sanders a066826827 fixes function name 1 year ago
Colin Jarvis 737f4406ee Commit of function calling notebook 1 year ago
Gerardo Lecaros 70d089929f 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>
1 year ago
Michael Yuan 6ce07ae71d implemented batcher for openai embeddings 1 year ago
Domenico Manna efae0d4bc1 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.
1 year ago
isabelaconstantin 76638b2639 Fix mutable default argument in APIRequest class 1 year ago
Krista Pratico 629d78245f [Azure] add example snippet on how to refresh AAD tokens (#435)
* add how to refresh aad tokens example

* remove accidental config
1 year ago
Gerardo Lecaros f1af65cd2d 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.
1 year ago
Ted Sanders 09a6f77e3d Merge pull request #411 from anshulsharmas/main
Added kusto vector database sample
1 year ago
arno756 5742ee35a5 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
1 year ago
Sebastian Witalec 873d5ec5fa Add Generative Search to Weaviate examples + fix authentication examples (#398)
* add Weaviate authentication to client configuration

* add a cookbook for generative search

* fix name
1 year ago
Ted Sanders 5163c71492 Merge pull request #437 from openai/ted/update-unit-testing-example
updates unit test writing example to use gpt-3.5-turbo
1 year ago
Ted Sanders 3ac21700bf updates unit test writing example to use gpt-3.5-turbo 1 year ago
colin-openai 8127428f39 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>
1 year ago
Changgeng Zhao 5cc4c660f3 Add Hologres as a vector database with python notebook example (#404)
Co-authored-by: 长更 <zhaochanggeng.zcg@alibaba-inc.com>
1 year ago
Ted Sanders def4ac085c Merge pull request #424 from jamescalam/gpt-4-example-fix
added data creation loop
1 year ago
Ted Sanders 47f8b30e9c Merge pull request #423 from eltociear/patch-4
docs: fix typo in QA_with_Langchain_Qdrant_and_OpenAI.ipynb
1 year ago
Michael Yuan 7be3b146cf Changes and additions in response to PR comments 1 year ago
Michael Yuan 4e22d695c8 Changes and additions in response to PR comments 1 year ago
Michael Yuan ff64125156 Changes and additions in response to PR comments 1 year ago
James Briggs 7d92616379 added data creation loop 1 year ago
colin-openai 1815c41536 Merge pull request #415 from joeywhelan/feature-redisqna
Add Redis Q&A example
1 year ago
colin-openai cbcc741307 Merge pull request #408 from joeywhelan/feature-redisjson
Add Redis JSON w/VSS examples
1 year ago
Ikko Eltociear Ashimine de52bcc4d7 docs: fix typo in QA_with_Langchain_Qdrant_and_OpenAI.ipynb
futher -> further
1 year ago
joeywhelan 534e5041d4 Fix redisqna 1 year ago
joeywhelan 151a348947 Fix redisjson 1 year ago
Ted Sanders 0c1e9c1080 Merge pull request #374 from wangxuqi/analyticdb_langchain_example
Add QA with Langchain of AnalyticDB  vector store and OpenAI example.
1 year ago
Michael Yuan fcdc92d6ad Redis hybrid VSS queries notebook 1 year ago
joeywhelan 43fceef9ee Add Redis Q&A example 1 year ago
Anshul Sharma 9bb626470c kusto vector sample added 1 year ago
joeywhelan d509f4a933 Add Redis JSON w/VSS examples 1 year ago
Ted Sanders 16868fa4ce fixes grammar 1 year ago
xuqi.wxq 2691ec8bb0 Add QA with Langchain of AnalyticDB vector store and OpenAI example. 1 year ago
Ted Sanders 43a2b00114 Merge pull request #391 from joeywhelan/fix-redisclients
Fix Redis supported client list
1 year ago
aiqinxuancai 4b869a71a3 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.
1 year ago
Ted Sanders 9d5fe7fee0 polishes wording in a few places 1 year ago
joeywhelan 9b64c8a988 Fix Redis supported client list 1 year ago
colin-openai 4e11955316 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
1 year ago
Amnon Catav d55f0c0823 add links to pinecone and add env var to index 1 year ago
liuliu 37fd3a6052 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
1 year ago
colin-openai ded5b0cb3e Merge pull request #356 from openai/conversational_agent_with_tools
Merge conversational LLM with tools example using LangChain
1 year ago
Colin Jarvis 57177d219c Made further wording changes 1 year ago
Colin Jarvis 1a57363d32 Fixing merge issues 1 year ago
Colin Jarvis 54d9af7d1f Fixing merge conflicts 1 year ago
Colin Jarvis 0cd137a542 Pushing renamed notebook with changed wording based on Ted's comments 1 year ago
Ted Sanders 5c540ace7e Merge pull request #361 from eltociear/patch-3
Update Getting_started_with_AnalyticDB_and_OpenAI.ipynb
1 year ago
qingdi 5a46af4f53 🌟 MyScale VectorStore Support (#377)
* add myscale notebook

* add myscale to vector database notebook
1 year ago
Ted Sanders b3f6045d28 Merge pull request #369 from wey-gu/patch-1
chore: fixed broken URL in markdown
1 year ago
jiangying df3bc473f0 add jtokkit to How_to_count_tokens_with_tiktoken.ipynb 1 year ago
Wey Gu 6b64060412 chore: fixed broken URL in markdown 1 year ago
Ted Sanders 35193e07c1 removes old references to query and doc models 1 year ago
Ted Sanders 8b9cdaedbf Merge pull request #336 from Hannibal046/patch-2
Fix bugs at api_request_parallel_processor.py
1 year ago
Ikko Eltociear Ashimine 7b5682a584 Update Getting_started_with_AnalyticDB_and_OpenAI.ipynb
PostgresSQL -> PostgreSQL
1 year ago
joe-at-openai a38da6894b More updates to preamble and code comments 1 year ago
joe-at-openai f8a588dd6e Update preamble and code comments 1 year ago
Alice Chen 3fd80b7312 [Fix] Typo and grammar fix in Question_answering_using_embeddings.ipynb 1 year ago
Colin Jarvis 899c038f7e Added wget URL for zipped podcasts 1 year ago
Colin Jarvis 256ef8267a Initial commit of conversational agent with TODO remaining 1 year ago
Eugene Yan fea69be4cd Update the section token count from 1,000 to 1,600
This resolves the mismatch between the values in markdown cell and code cell.
1 year ago
Ted Sanders 0c957691a5 updates example command to be consistent with text 1 year ago
Ted Sanders 0d27d7b69b updates README table of contents 1 year ago
Ted Sanders a73cda8959 Merge pull request #344 from openai/ted/update-qa-example
updates Q&A example to use gpt-3.5-turbo
1 year ago
Ted Sanders 8c5d01329c updates Q&A example to use gpt-3.5-turbo 1 year ago
Logan Kilpatrick 9dcc24051e Merge pull request #341 from jasonbosco/add-typesense-readme
Add README for Typesense
1 year ago
colin-openai f9e2dbd5a9 Merge pull request #238 from liuliuOD/fix/vector_databases
fix: about spelling and command
1 year ago