Daniel
63e966d69a
Update Neon cookbook README.md ( #747 )
1 year ago
Stefano Lottini
1ca286c180
new cassIO connect experience with the newest cassio.init ( #745 )
1 year ago
Jiří Hofman
8d329cf9a3
Fix typo in How_to_stream_completions.ipynb ( #744 )
...
Co-authored-by: Simón Fishman <simonpfish@gmail.com>
1 year ago
Dhruv Anand
f6260a013e
fix: typo in hallucination reduction stat ( #742 )
1 year ago
Daniel
c3f5e0cd7c
Add Neon Postgres vector database OpenAI cookbook ( #690 )
...
Co-authored-by: Simón Fishman <simonpfish@gmail.com>
1 year ago
Ikko Eltociear Ashimine
6efa2eca0b
Fix typo in Backtranslation_of_SQL_queries.py ( #709 )
1 year ago
Simón Fishman
c2959fd60b
[tiktoken_counting] fix tokenizer name ( #741 )
1 year ago
Saarika Bhasi
4631e1b74a
[elasticsearch] fix typo in signup url ( #726 )
...
Co-authored-by: Simón Fishman <simonpfish@gmail.com>
1 year ago
Albarqawi
bc78c9871c
Add a notebook for end to end automation example ( #527 )
1 year ago
Farzad Sunavala
552262ea89
Minor change to use SearchIndexingBufferedSender to support optimized batch indexing ( #712 )
1 year ago
ridrisa
c777f1025a
fix minor typo in financial_document_analysis_with_llamaindex ( #733 )
1 year ago
Chuong Ho
561efac6d3
Add Mongodb Atlas Vector Search ( #734 )
1 year ago
Simón Fishman
222a85fb17
Improve parallel processing script ( #735 )
1 year ago
gusmally
fde2a6474d
add note about legacy fine tuning ( #729 )
1 year ago
Stefano Lottini
ba1e6004c9
Fix spelling error + misplaced copypaste in the CQL notebook ( #728 )
1 year ago
Cathy Chen
8ab41ac370
Add description and rename Obtain_dataset, and throw error when fine tuned model not available ( #727 )
1 year ago
Will DePue
efcc78953d
Improve code_search and get_embedding notebooks. ( #717 )
...
Co-authored-by: Simón Fishman <simonpfish@gmail.com>
1 year ago
Nirant
fd4e31bb00
5x Error Reduction in RAG with gpt-3.5-turbo-0613 Finetuning ( #678 )
1 year ago
Farzad Sunavala
cb46cc46a6
Add Azure Cognitive Search vector database ( #569 )
...
* get started azuresearch
* master docs reference
* pablo comments
* replace placeholders with "_"
* azs latest sdk updates
* deep dive link
* openai feedback
* not print the whole vector in console
* cleanup outputs
* cleanup outputs pip
1 year ago
dongqqcom
d86a0381e6
Add Tair to examples of vector database ( #609 )
...
* Add Tair to examples of vector database
* remove hardcoding API keys
* Update examples/vector_databases/tair/Getting_started_with_Tair_and_OpenAI.ipynb
Co-authored-by: Simón Fishman <simonpfish@gmail.com>
* fix: input api key by getpass
* update: input api key by getpass
* update: Adding output of code cells
---------
Co-authored-by: Simón Fishman <simonpfish@gmail.com>
1 year ago
Krista Pratico
240694fa32
[azure] bring your own data example ( #654 )
...
* initial commit for bring your own data notebook
* fix words
* add version
* add output from stream
* address review feedback
* edit intro
1 year ago
Puneet Dhiman
e4d0bc169c
Correct spelling mistake in Search_reranking_with_cross-encoders.ipynb ( #675 )
1 year ago
Stefano Lottini
59011825c3
Updates to CassIO notebook ( #684 )
1 year ago
Steven Pousty
857b592731
small typoe fix ( #688 )
1 year ago
Simón Fishman
5783656852
add descriptions to fine-tuning dataprep notebook ( #673 )
1 year ago
Simón Fishman
15f3fda4a3
clarify title ( #672 )
1 year ago
Will DePue
76448de0de
Update Customizing_embeddings.ipynb to be delete long cache output. ( #667 )
...
* patch
* remove print statement
---------
Co-authored-by: simonpfish <simonpfish@gmail.com>
1 year ago
Stefano Lottini
fae14ddb89
Add Cassandra/Astra DB to the vector databases README ( #665 )
...
* Add Cassandra/Astra DB to the vector databases overall README
* Linking to a basic quickstart instead
1 year ago
Liam Thompson
31b4de22a3
Add elasticsearch examples to vector databases folder ( #622 )
...
* Add Elasticsearch to vector databases, add notebooks
* Update prompt
* Make intro verbiage more neutral
* Add semantic search notebook outputs
* Add RAG notebook output
* Update query
* Remove unreadable vector output
1 year ago
Stefano Lottini
4d330b82d7
Add Astra DB (/Cassandra) to vector databases with example notebooks ( #655 )
...
* first commit for the Astra DB / Cassandra notebooks
* add json with quotes
* towards the final cassIO pilot notebook
* small changes to the copy
* cassIO pilot completed and its readme done
* fix silly markdown error
* fix silly markdown error 2
* astra vector link change and vector search picture improved
* added link to docs for connecting to Cassandra cluster
* CQL version of the flow
* revised readme
* final adjustments around metrics/distances
* links' final version assumes files in openai's main branch
* Add ref to QA+vector general guide; fix prompt; clarified conclusion paragraph; typos
1 year ago
recordcrash
1945bfe65c
Fix UTF-8 encoding in Chat_finetuning_data_prep.ipynb ( #648 )
1 year ago
Eliah Kagan
63f95154b1
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
1ae3bf631b
fix undefined variables in fine tune example ( #660 )
...
`create_user_message` and `test_df` are not defined.
1 year ago
Simón Fishman
35b7123faf
update titles ( #653 )
1 year ago
Simón Fishman
d534c85477
more fine-tuning improvements ( #652 )
...
* more fine-tuning improvements
* add links to other resources
1 year ago
Simón Fishman
8ed84645e8
small improvements to the fine-tuning cookbook ( #651 )
1 year ago
simonpfish
cbe292bd93
update fine-tuning cookbook
1 year ago
Michael Wu
a173325830
add ft data prep notebook ( #647 )
1 year ago
colin-openai
524949f9d1
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
a74a7a7940
Fixed JSON formatting bug in arxiv_functions ( #562 )
1 year ago
Ikko Eltociear Ashimine
6597537307
Fix typo in redis-hybrid-query-examples.ipynb ( #642 )
...
bellow -> below
1 year ago
Simón Fishman
b3a41db9da
fix date typo ( #640 )
1 year ago
Shyamal H Anadkat
9f63c4863e
Adds reference to SummEval ( #639 )
1 year ago
Simón Fishman
1d73635488
various minor improvements ( #638 )
1 year ago
Shyamal H Anadkat
346617e8fd
adds notebook on abstractive summarization eval ( #637 )
1 year ago
prestontuggle
4912564dc1
adds one function calling notebook ( #629 )
...
* adds one function calling notebook
* reordered imports and ran all cells
* fixed comma error
1 year ago
prestontuggle
0933dd1569
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
8e6e058c6a
Fix function description ( #626 )
1 year ago
Anton Troynikov
3115683f14
Update notebooks ( #598 )
1 year ago
richzw
964dd85ed3
add tiktoken-go to How_to_count_tokens_with_tiktoken.ipynb ( #605 )
1 year ago
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
1 year ago
ancri
b5ea5f3b0e
consolidate Embedding.create calls into one ( #543 )
1 year ago
Tomas Dulka
4fd2b1a6d2
replace eval with safer literal_eval ( #561 )
1 year ago
Sebastian Witalec
3bd18cc07d
fix markdown typo on a link ( #591 )
1 year ago
Alex Dhillon
9dad13d05b
simplify pretty print ( #575 )
1 year ago
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
1 year ago
Moiz Sajid
e4c4d3baa9
Updated README.md in examples/vector_databases ( #581 )
...
Added the links to the missing vector databases
1 year ago
Ikko Eltociear Ashimine
e983502569
Fix typo in QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb ( #582 )
...
futher -> further
1 year ago
Jason M
cd62830788
Update How_to_call_functions_with_chat_models.ipynb ( #545 )
...
Updates "min" parameter to "multiplier". Should run the same.
1 year ago
liuchengshan-lcs
238ff54fce
Add getting started with PolarDB vector database and OpenAI example. ( #489 )
1 year ago
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
1 year ago
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.
1 year ago
Ted Sanders
17858f204f
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
950246dd08
Update How_to_handle_rate_limits.ipynb ( #554 )
...
Replace deprecated model "code-cushman-001" with "gpt-3.5-turbo".
1 year ago
Kacper Łukawski
3ce532c03c
Refactor Qdrant notebooks ( #556 )
...
* Upgrade Qdrant to 1.3.0
* Adapt the descriptions and run the missing cells
1 year ago
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
1 year ago
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
1 year ago
Filip Haltmayer
f4c67dff3c
update to token for zilliz ( #552 )
...
Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>
1 year ago
prestontuggle
3170356cc2
Adds Whisper Prompting Guide ( #551 )
1 year ago
Elmira Ghorbani
28fef26cc9
create/check data dir for arxiv's papers ( #531 )
1 year ago
Michael Yuan
6798e1ca3a
Fix wget download updated parameters ( #538 )
1 year ago
Ted Sanders
de3bd58434
Ted/update token counting 0613 ( #541 )
...
* updates tiktoken counting function
* slight rewording
* updates ChatGPT guide with new models
1 year ago
Avery Khoo
26978e9ed1
Update How_to_count_tokens_with_tiktoken.ipynb ( #511 )
...
Add support for gpt-3.5-*-0613 models
1 year ago
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..."
1 year ago
Simon Suo
411068e736
Add example notebook for financial document analysis with LlamaIndex ( #481 )
...
* add notebook
* add pypdf install
* move
1 year ago
Matthew
90ef0f25e5
fixed typo ( #523 )
1 year ago
Simón Posada Fishman
a0e7352649
Merge pull request #519 from openai/simon/search_aug
...
Add search augmentation notebook
1 year ago
simonpfish
af7239bfda
rename image file
1 year ago
simonpfish
90863fe6d5
dummy key naming
1 year ago
simonpfish
c1946c66b7
deduplicate search results
1 year ago
Ted Sanders
38c5742ce6
renames dummy key
1 year ago
Ted Sanders
953c57af01
cleaned up notebook
1 year ago
Ted Sanders
3b37ded49c
change embedding dimensions
1 year ago
Ted Sanders
6d7954806a
polishes text
1 year ago
Ted Sanders
6d7f52fee5
removes extra period from et al.
1 year ago
Ted Sanders
8058562b75
changes search date to June 2023
1 year ago
Ted Sanders
9fabb7fa9f
joins run-on sentence
1 year ago
Ted Sanders
224d845c0f
adds missing apostrophe
1 year ago
Ted Sanders
08d2cd6732
cuts trailing spaces
1 year ago
Ted Sanders
3e997b3214
adds comment for openai package
1 year ago
Ted Sanders
a7d746a7f9
adds periods to list to be consistent with others
1 year ago
Ted Sanders
37746ff3ca
rewrites intro points to be more consistent with one another
1 year ago
Ted Sanders
02833d22bb
be -> feel
1 year ago
Ted Sanders
9ada754100
changes web URL to relative link
1 year ago
Ted Sanders
d6bb1fb146
the model -> GPT
1 year ago
Ted Sanders
842e71ef3a
the -> an
1 year ago
Ted Sanders
dafd562811
makes title formatting consistent with other examples
1 year ago
Ted Sanders
cb0da816f9
fixes link and removes empty cell
1 year ago
colin-openai
71a2414134
Merge pull request #417 from michaelskyuan/main
...
Add notebook with Redis hybrid VSS queries examples
1 year ago
simonpfish
8af8005866
address feedback
1 year ago
simonpfish
2a77e0d118
add search augmentation notebook
1 year ago
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
1 year ago
joe-at-openai
659c42e6f1
fix finish_reason
1 year ago
joe-at-openai
a8e28c2f7f
integrate improvements to original function calling notebook + factor out arxiv example into new notebook
1 year ago
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
1 year ago
joe-at-openai
41a5d394ca
Merge pull request #499 from openai/joe/remove-incorrect-model-name
...
fix incorrect model name
1 year ago
joe-at-openai
9943947cd9
fix incorrect model name
1 year ago
Piaoyang Cui
9079129d7b
Fix ask_database in call functions with chat model example
1 year ago
Atty Eleti
817546f0d7
Fix `finish_reason` in function calling cookbook
1 year ago
Logan Kilpatrick
0084f4ce6b
Rename How_to_call_functions_with_Chat_models.ipynb to How_to_call_functions_with_chat_models.ipynb
1 year ago
colin-openai
c5a7f7835d
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
f920c5f65f
Removed papers
1 year ago
Colin Jarvis
d9677ebb89
Merge branch 'function_calls' of https://github.com/openai/openai-cookbook into function_calls
1 year ago
Colin Jarvis
26b0c47d5c
Fixed a couple small bugs in functions notebook
1 year ago
Ted Sanders
9ccb2a994f
tool -> function in a few places
1 year ago
Ted Sanders
280f6ef03e
fixes function name
1 year ago
Colin Jarvis
f780772dc8
Commit of function calling notebook
1 year ago
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>
1 year ago
Michael Yuan
32cddbef25
implemented batcher for openai embeddings
1 year ago
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.
1 year ago
isabelaconstantin
c71d7adc97
Fix mutable default argument in APIRequest class
1 year ago
Krista Pratico
33dc207afb
[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
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.
1 year ago
Ted Sanders
610f730144
Merge pull request #411 from anshulsharmas/main
...
Added kusto vector database sample
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
Ted Sanders
f71e6a96a1
updates unit test writing example to use gpt-3.5-turbo
1 year ago
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>
1 year ago
Changgeng Zhao
1000312934
Add Hologres as a vector database with python notebook example ( #404 )
...
Co-authored-by: 长更 <zhaochanggeng.zcg@alibaba-inc.com>
1 year ago
Ted Sanders
b90f835fbe
Merge pull request #424 from jamescalam/gpt-4-example-fix
...
added data creation loop
1 year ago
Ted Sanders
40c39a28a9
Merge pull request #423 from eltociear/patch-4
...
docs: fix typo in QA_with_Langchain_Qdrant_and_OpenAI.ipynb
1 year ago
Michael Yuan
47046a1c86
Changes and additions in response to PR comments
1 year ago
Michael Yuan
ea124a2db3
Changes and additions in response to PR comments
1 year ago
Michael Yuan
f6b67799e9
Changes and additions in response to PR comments
1 year ago
James Briggs
1dd1c0ef33
added data creation loop
1 year ago
colin-openai
edfbae1571
Merge pull request #415 from joeywhelan/feature-redisqna
...
Add Redis Q&A example
1 year ago
colin-openai
1eed317bbe
Merge pull request #408 from joeywhelan/feature-redisjson
...
Add Redis JSON w/VSS examples
1 year ago
Ikko Eltociear Ashimine
cd42418444
docs: fix typo in QA_with_Langchain_Qdrant_and_OpenAI.ipynb
...
futher -> further
1 year ago
joeywhelan
77276df2b0
Fix redisqna
1 year ago
joeywhelan
f69e8a4ace
Fix redisjson
1 year ago
Ted Sanders
24782325d2
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
95747294f5
Redis hybrid VSS queries notebook
1 year ago
joeywhelan
b3ef4e3ad3
Add Redis Q&A example
1 year ago
Anshul Sharma
7634abf68d
kusto vector sample added
1 year ago
joeywhelan
d505735974
Add Redis JSON w/VSS examples
1 year ago
Ted Sanders
c14432efe7
fixes grammar
1 year ago
xuqi.wxq
d12cb6c43b
Add QA with Langchain of AnalyticDB vector store and OpenAI example.
1 year ago
Ted Sanders
594fc6c952
Merge pull request #391 from joeywhelan/fix-redisclients
...
Fix Redis supported client list
1 year ago
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.
1 year ago