Commit graph

524 commits

Author SHA1 Message Date
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
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
Ted Sanders
d972e7482e updates chat guide with gpt-4 and updates token counting function 2023-03-24 21:28:14 -07:00
Ted Sanders
b45d2b2346 updates token counting guide 2023-03-24 21:09:25 -07:00
James Briggs
8ef3729998 add colab link 2023-03-24 23:46:03 +07:00
James Briggs
f71d2d23aa add pinecone readme 2023-03-24 23:41:58 +07:00
Herobs
afa9436334
Add chat endpoint support (#244)
* add chat endpoint support

* supplement comment
2023-03-22 13:21:36 -07:00
Swastik Banerjee
3dde564948
fix iteration error (#208)
* fix iteration error

array iteration error: sentences up till max_len of token exceeds should be returned

* split list once instead of twice

split list once instead of twice and take parsed string up till max token length is exceeded
2023-03-21 14:45:56 -07:00
Ted Sanders
feb53449e0
Merge pull request #250 from eltociear/patch-2
Fix typo in Embedding_long_inputs.ipynb
2023-03-20 15:35:38 -07:00
Ted Sanders
a101157740 updates token counting function to work with gpt-4 2023-03-20 10:55:35 -07:00
Ikko Eltociear Ashimine
43d0ac230c
Fix typo in Embedding_long_inputs.ipynb
programatically -> programmatically
2023-03-19 21:38:17 +09:00
liuliu
c7f3f31b2c docs: create a block to show how to export parameter to environment in terminal 2023-03-17 17:32:13 +08:00
liuliu
6faa0e16c9 fix: add space in block of python
1. !pip -> ! pip
2023-03-17 17:31:12 +08:00
liuliu
dbb2c89539 fix: docker-compose up command
1. docker compose -> docker-compose
2023-03-17 17:30:19 +08:00
liuliu
662aefd480 docs: fix minor spelling issue 2023-03-17 17:29:58 +08:00
liuliu
9a8027d10b docs: create a block to show how to export parameter to environment in terminal 2023-03-17 14:56:01 +08:00
liuliu
0d55f254ea docs: create a block to show how to export parameter to environment in terminal 2023-03-17 14:34:08 +08:00
liuliu
5fac20f42c docs: highlight tool name and modify spell
1. highlight "Qdrant"
2. modify "REST" to "RESTful"
2023-03-17 14:31:20 +08:00
liuliu
8193d295b4 fix: remove unused package import
1. datetime is unused
2023-03-17 14:05:40 +08:00
liuliu
afbf055b08 doc: highlight text and tool name
1. cannot: highlight to enhance the importance
2. Pinecone
2023-03-17 14:03:01 +08:00
liuliu
0421728133 docs: complete the missing symbol * that should be paired in pinecone/Gen_QA.ipynb 2023-03-17 14:00:18 +08:00
Ted Sanders
86c739bc46 fixes test/train bug 2023-03-16 18:57:46 -07:00
Ted Sanders
7b097669fe
Merge pull request #228 from MrZilinXiao/main
fix prompt list counter
2023-03-16 17:21:10 -07:00
Ted Sanders
d87990fcbd
Merge pull request #227 from liuliuOD/fix/dalle
docs: update dalle example file
2023-03-16 17:19:30 -07:00
Ted Sanders
8c2d52eda4
Merge pull request #226 from liuliuOD/fix/fine-tuned_qa
fix: made some spelling and semantic adjustments
2023-03-16 17:18:25 -07:00
Ted Sanders
d9c257c339
Merge pull request #192 from kacperlukawski/qdrant-in-docs
List Qdrant among the other vector databases
2023-03-16 16:45:48 -07:00
Zilin Xiao
d2e343153c
fix prompt list counter 2023-03-16 13:49:46 +08:00
liuliu
aa42182ae5 docs: update dalle/Image_generations_edits_and_variations_with_DALL-E.ipynb
1. add a terminal command sample about how to export OPENAI_API_KEY to environment
2023-03-16 13:45:03 +08:00
liuliu
23491928cc docs: correct the opposite meaning
1. "to increase the coherence of the text, and the frequency of breaks within the text." -> "to increase the coherence of the text, and decrease the frequency of breaks within the text."
2023-03-16 10:46:18 +08:00
liuliu
e257a986cf docs: fix minor spelling issue
1. "to ensure that the examples from the traing set don't feature within the test set." -> "to ensure that the examples from the training set don't feature within the test set."
2023-03-16 10:24:37 +08:00
liuliu
869c745a3c Fix minor spelling issue
the examples from the traing set -> the examples from the training set
2023-03-15 15:06:25 +08:00
BasedLukas
5afbaf3140
Fix minor spelling issue
we check that he separator > we check that the separator
2023-03-13 13:26:13 +01:00
colin-openai
c3b920f123
Merge pull request #202 from dandv/patch-1
Weaviate: update links, minor corrections
2023-03-10 01:04:30 -08:00
colin-openai
fcc70e762c
Merge pull request #133 from filip-halt/milvus_merge
Adding Milvus vector db
2023-03-10 01:02:25 -08:00
Dan Dascalescu
1ceaa89f3a
Weaviate: update links, minor corrections 2023-03-09 13:43:24 +01:00
Logan Kilpatrick
0272e206f2
Merge pull request #194 from shizhediao/patch-1
Update Gen_QA.ipynb
2023-03-08 12:37:14 -06:00
shizhediao
35f765e218
Update Gen_QA.ipynb 2023-03-07 19:53:22 +08:00
Kacper Łukawski
c8a8db7b94 List Qdrant among the other vector databases 2023-03-07 09:49:34 +01:00
ethanknights
df79754e03 rm trailing cell 2023-03-05 16:08:01 +00:00
ethanknights
f46e2c15b2 company typo 2023-03-05 16:06:11 +00:00
Logan Kilpatrick
38c84ede5f
Merge pull request #172 from eltociear/patch-1
fix typo in Gen_QA.ipynb
2023-03-03 13:20:30 -06:00
colin-openai
bd03f796ee
Merge pull request #140 from kacperlukawski/qdrant-notebooks
Add Qdrant notebooks
2023-03-03 08:55:27 -08:00
Kacper Łukawski
fa9fded505 Add custom prompt template example 2023-03-03 17:50:23 +01:00
Kacper Łukawski
98b639df22 Fix typos and increase langchain version to 0.0.100 2023-03-03 16:19:51 +01:00
Ted Sanders
b92d7e7b92 updates streaming example for chat models 2023-03-02 22:42:03 -08:00
Ikko Eltociear Ashimine
916843f921
fix typo in Gen_QA.ipynb
recieve -> receive
2023-03-03 15:14:09 +09:00
Ted Sanders
8cd6b0f53b adds examples of counting tokens for the ChatGPT API 2023-03-02 12:52:26 -08:00
Ted Sanders
73a64ff7da
Ted/chat api (#163)
* adds example for calling ChatGPT API

* updates table of contents with ChatGPT API
2023-03-01 10:00:07 -08:00
colin-openai
6be0de50e5 Switching character chunking out for token-based chunking 2023-03-01 04:01:28 -08:00
colin-openai
7139df95c3 Pushing updated version with grammar changes 2023-03-01 03:31:26 -08:00
colin-openai
2131c770ea Notebook demonstrating approach to extracting entities from a long document 2023-02-20 02:25:42 -08:00
Kacper Łukawski
c1f11dc8f7 Remove the output of pip install command 2023-02-16 18:35:41 +01:00
Kacper Łukawski
cfdda833fd Add an example of how to use Langchain with Qdrant and OpenAI embeddings 2023-02-16 18:32:56 +01:00
Kacper Łukawski
878dd10d5c Add "Getting started" notebook for Qdrant 2023-02-16 16:30:25 +01:00
Kacper Łukawski
d3da832448 Update Qdrant to 1.0.1 2023-02-16 10:50:24 +01:00
Filip Haltmayer
7198d48994 Add Milvus vector db
Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>
2023-02-15 11:49:27 -08:00
colin-openai
9b17d00cab
Merge pull request #131 from Spartee/add-redis-example
Add Redis example notebooks and READMEs
2023-02-15 08:04:01 -08:00
Sam Partee
d0dfca2b95 Add docker-compose and cleanup 2023-02-14 13:05:41 -08:00
Sam Partee
36cf06fc0a Add Redis example notebooks and READMEs 2023-02-13 18:08:24 -08:00
Ted Sanders
6b7e5f6695
updates docker link to docker.com (#129) 2023-02-13 16:56:13 -08:00
colin-openai
264bcb03dd
Merging Weaviate notebooks to main (#122)
* updates Weaviate vector database Cookbook examples
2023-02-13 10:33:00 -08:00
Ted Sanders
5b5f228121
Merge pull request #100 from scottire/main
Add W&B embedding projector example
2023-02-09 10:35:03 -08:00
Scott Condron
f4c865cfef
Removing top from blurb 2023-02-09 18:33:15 +00:00
Scott Condron
5e0c3f92d3 Add W&B Blurb 2023-02-09 15:39:03 +00:00
colin-openai
c31fe72f1a
Merge pull request #121 from openai/colin
Fixed commented out vector
2023-02-09 02:15:15 -08:00
colin-openai
df570ceb4d Fixed commented out vector 2023-02-09 02:14:24 -08:00
jamescalam
7c43d6ab1a added pinecone-openai gen qa example 2023-02-08 10:49:53 +04:00
Ted Sanders
fa3a64a3b8
Merge pull request #117 from Tobel158/patch-1
Update Question_answering_using_embeddings.ipynb
2023-02-07 09:23:24 -08:00
Tobel
1b9efd7726
Update Question_answering_using_embeddings.ipynb
remove typo
2023-02-06 19:53:18 -05:00
Filipe de Avila Belbute Peres
d339859248 Fix weighted average 2023-02-06 13:51:06 -08:00
Ted Sanders
9f4bb5260a
Merge pull request #105 from wa11breaker/main
docs: fix example code in fine-tuned_qa section 2.3
2023-02-06 09:37:27 -08:00
Ted Sanders
ac71280d5c
Merge pull request #95 from akshayvkt/patch-1
Updated a markdown in Clustering.ipynb
2023-02-06 09:26:05 -08:00
Ted Sanders
0acccd2ad4
Merge pull request #92 from Androbin/patch-1
Encode separator for completions endpoint
2023-02-06 09:24:42 -08:00
Ted Sanders
5ef1523014
Merge pull request #56 from openai/colin
Initial commit of vector database example with new embeddings
2023-02-06 09:20:01 -08:00
colin-openai
3ad0e718cb Pushing update to remove data loading 2023-02-06 03:48:31 -08:00
Akshay
e894ddf315 docs: fix example code in fine-tuned_qa section 2.3 2023-02-04 11:10:15 +05:30
Scott
e2106af5db Add W&B embedding projector example 2023-02-01 13:52:08 +00:00
colin-openai
befe771b2c Updated to align wording 2023-01-31 14:37:22 -08:00
Akshay Chintalapati
5811e634a0
Update Clustering.ipynb
Updated the penultimate markdown to align with the code in the following cell
2023-01-30 00:26:15 -08:00
Robin Richtsfeld
b34607ddb7
Encode separator for completions endpoint
`SEPARATOR` is being used to construct a prompt for use with the completions endpoint
2023-01-29 02:13:55 +01:00
Ted Sanders
e3450242b2 updates model name in text description of Q&A notebook 2023-01-27 16:27:26 -08:00
colin-openai
a37477f9bc Tested notebook end to end 2023-01-26 11:11:23 -08:00
colin-openai
ea8a52d00b Updated text to include Qdrant in guide 2023-01-25 16:42:33 -08:00
Bryan Ricker
c51a573f0d
fix typo 2023-01-24 17:13:24 -08:00
Ted Sanders
ea6b4f1dd6 updates streaming guide with note about usage field 2023-01-20 14:38:12 -08:00
Ted Sanders
35aa675aef updates rate limit notebook with links to parallel processing script 2023-01-20 14:30:55 -08:00
Ted Sanders
23acf80aaf adds parallel processing script 2023-01-20 14:07:18 -08:00
Ted Sanders
c9df23f7d0
Merge pull request #77 from Pankaj-Baranwal/patch-1
Replaced non-existent model with the new version.
2023-01-19 14:38:35 -08:00
Filipe de Avila Belbute Peres
2e59263390 Convert back to list only after all np operations 2023-01-19 10:27:24 -08:00
Ted Sanders
d1165a7757 normalizes averaged embeddings to length 1 2023-01-19 10:11:34 -08:00
Ted Sanders
14262d47e8 polishes text and re-runs notebook 2023-01-19 10:04:31 -08:00
Filipe de Avila Belbute Peres
ee69beb8cd Print len instead of full array 2023-01-18 18:22:03 -08:00
Filipe de Avila Belbute Peres
f3289404b2 Wrap error message to avoid saving all the trace to the notebook 2023-01-18 18:20:01 -08:00
Filipe de Avila Belbute Peres
ec564da44d Change len_safe function signature + other changes 2023-01-18 18:16:22 -08:00
Filipe de Avila Belbute Peres
f259e82ab6 Rename file 2023-01-18 17:51:32 -08:00
Filipe de Avila Belbute Peres
85032e0831 Finish first draft 2023-01-18 17:50:31 -08:00
Kacper Łukawski
5ee5fecb76 Add Qdrant as another example of vector database 2023-01-18 11:15:36 +01:00
Filipe de Avila Belbute Peres
cc6df3a8c3 Write initial draft 2023-01-17 18:17:39 -08:00
Ted Sanders
5050739cf1 adds tiktoken example 2023-01-17 13:23:06 -08:00
Colin Jarvis
225b9177c8 Updated wordings of headers 2023-01-16 07:47:58 -08:00
Colin Jarvis
a367e11e39 Updated title 2023-01-16 07:45:17 -08:00
Colin Jarvis
f20f6acfd1 Updated document name to be more descriptive 2023-01-16 07:41:42 -08:00