Commit Graph

41 Commits

Author SHA1 Message Date
Ikko Eltociear Ashimine
7deca069ce Fix typo in getEmbeddingsForText.ts (#515)
charcter -> character
2023-06-16 18:31:53 -07:00
Midori
940fb6b6c9 Fix duplicate "basic" 2023-06-14 10:35:49 +09:00
Victor Duarte
782bfa5d32 Add missing word 2023-06-08 08:11:31 +02:00
chentienan
5e0e3a45b9 FIX: missing pip installs for enterprise_knowledge_retrieval.ipynb
Updated pip installs to include missing dependencies (openai, tiktoken, wget) for enterprise_knowledge_retrieval.ipynb, which were causing the notebook to fail executing.
2023-05-26 18:00:11 +08:00
Ted Sanders
782359f9c4 fixes bad paths in embeddings playground readme 2023-05-22 16:41:21 -07:00
Ted Sanders
6d43070464 Ted/embeddings playground (#439)
* adds embeddings-playground app

* update table of contents with embeddings playground
2023-05-19 18:15:24 -07:00
Ted Sanders
99f4ab1e31 Merge pull request #430 from Optimized-Coder/patch-2
Update transformers.py
2023-05-18 17:06:11 -07:00
juston
5e9f115f84 Update enterprise_knowledge_retrieval.ipynb
Removing some of the scores here; it's cluttering the notebook a bit.
2023-05-18 19:07:19 -04:00
Josh Shepherd
6b00fd6ea8 Update transformers.py
Add explanative docstring to handle_file_string function and move docstrings to below function definition as per pep 257 specification
2023-05-18 13:30:55 +01:00
colin-openai
2020c8ad6e Merge pull request #352 from SmashedFrenzy16/main
Update `chat.py` removing an unnecessary string
2023-05-18 11:25:23 +01:00
colin-openai
78fd780d80 Merge pull request #414 from openai/embedding_retrieval_deep_dive
Pushing enterprise knowledge retrieval to cookbook
2023-05-15 18:04:56 +01:00
colin-openai
fd91560a09 Merge pull request #301 from Optimized-Coder/main
Increase readability in chatbot.py
2023-05-14 20:50:07 +01:00
Colin Jarvis
dfbe09f106 Pushing updated version with comments fixed 2023-05-12 14:37:22 +01:00
Colin Jarvis
da802af763 Added retry decorator to embeddings 2023-05-12 14:30:33 +01:00
Colin Jarvis
eb669367af Pushing updates to batch embeddings and clean up evaluation section 2023-05-12 12:53:06 +01:00
Colin Jarvis
ab66238d5e Pushing enterprise knowledge retrieval to cookbook 2023-05-11 10:38:30 +01:00
Darshan Panchal
cea88fe1b1 Update requirements.txt
removed html since it was not required
2023-05-11 09:21:34 +05:30
SmashedFrenzy16
40dff7e13c Update chat.py removing unnecessary string 2023-04-16 10:49:57 +01:00
colin-openai
e91347fddb Added tiktoken to requirements file and updated README to include chatbot-kickstarter 2023-04-12 01:32:14 -07:00
Alexander Khapaev
ca9ffd2ae8 Updated the get_domain_hyperlinks function to include handling of tel: links in addition to mailto: links, to exclude them from the clean links list. 2023-04-07 18:28:44 +03:00
isafulf
975f7d3bb0 Update answer_question.py 2023-04-02 17:33:25 -07:00
isafulf
36458a582c Update FileQandAArea.tsx 2023-04-02 17:32:37 -07:00
isafulf
308c261bc9 use ChatGPT API in flask app 2023-04-02 17:29:19 -07:00
isafulf
f72b7ebdb7 address https://github.com/openai/openai-cookbook/issues/248 2023-04-02 17:28:52 -07:00
isafulf
295b10461a use ChatGPT API in nextjs example 2023-04-02 17:28:29 -07:00
isafulf
a77ad9446c address https://github.com/openai/openai-cookbook/issues/159 2023-04-02 17:26:53 -07:00
isafulf
d520c50c69 increase OpenAI NodeJS client version 2023-04-02 17:26:19 -07:00
Josh Shepherd
be9b3304ac Increase readability to chatbot.py
This is an amazing script and I thought I would give it a huge justice by making it more readable for onlookers
2023-03-31 01:37:21 +01:00
fabiofranco85
8faf594773 Improve regex 2023-03-27 07:38:35 -03:00
colin-openai
242b21dabe Merge pull request #206 from openai/getting_started_qanda_chatbot
Chatbot starter app used in conference
2023-03-21 15:03:30 -07:00
William Buck
f86eaea9ca remove duplicate import of distances_from_embeddings 2023-03-20 13:02:37 -07:00
Ted Sanders
dfc4374fae Merge pull request #146 from hunkim/patch-1
Add handling for last chunk in split_into_sentences function
2023-03-16 16:11:05 -07:00
isafulf
d2367e99b4 Update start 2023-03-12 19:15:13 -04:00
colin-openai
79023d6c99 Initial commit of simple app demonstrating chatbot starting point in notebook and Streamlit 2023-03-10 02:45:48 -08:00
JJ
312be1f994 Changed "the the endpoint" to "to the endpoint"
Line 14 -> I think it should be "call made to the endpoint" instead of "call made the the endpoint"
2023-02-23 12:14:59 -08:00
Sung Kim
58b63dfb0e Add handling for last chunk in split_into_sentences function
I have added handling for the last chunk in the split_into_sentences function. Previously, the function did not account for the last chunk, which could lead to incomplete sentences in the output.

To solve this, I added a conditional statement to check if the last chunk is non-empty. If it is, I append it to the list of chunks with a period to ensure the last sentence is complete.

This change improves the accuracy of the split_into_sentences function and ensures that all sentences in the input text are properly segmented. Please review and let me know if you have any feedback or concerns.
2023-02-19 11:00:27 +09:00
Logan Kilpatrick
e030442a09 Add comment on where to learn about rate limits 2023-02-17 06:16:14 -06:00
Daniel Zhukovsky
215f15795d Redefinition of unused 'pd' 2023-02-16 15:05:04 +00:00
isafulf
f453d0154a rename web crawl q and a 2023-02-11 16:37:29 -08:00
isafulf
b844afc6d6 File Q and A app 2023-02-11 16:29:30 -08:00
isafulf
3973c85840 solution --> apps 2023-02-11 16:28:38 -08:00