{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":622564306,"defaultBranch":"main","name":"langchain-php","ownerLogin":"kambo-1st","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-04-02T13:45:41.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/6493048?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1684162769.6669881","currentOid":""},"activityList":{"items":[{"before":"48f9db4b841a72eb2a42377758477a201c64a0b4","after":"3aa302bc5e117123e0bf94b125038702848a0a19","ref":"refs/heads/llm-hugging-face-hub","pushedAt":"2023-05-15T15:02:46.791Z","pushType":"push","commitsCount":1,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"feat(llm-huggingfacehub.php, HuggingFaceHub.php): add support for Hugging Face Hub API to generate text using GPT-2 model. The HuggingFaceHub class is added to the LLMs namespace and implements the LLM interface. The class constructor accepts an array of options, a CallbackManager instance, a CacheInterface instance, and a HuggingfaceLangchainAdapter instance. The call method accepts a prompt string and an array of parameters. The adapter instance is used to call the Hugging Face Hub API to generate text using the GPT-2 model. The generated text is returned as a string.","shortMessageHtmlLink":"feat(llm-huggingfacehub.php, HuggingFaceHub.php): add support for Hug…"}},{"before":null,"after":"48f9db4b841a72eb2a42377758477a201c64a0b4","ref":"refs/heads/llm-hugging-face-hub","pushedAt":"2023-05-15T14:59:29.666Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"Support for GPT-4","shortMessageHtmlLink":"Support for GPT-4"}},{"before":"185871cb6dac1c3eeac0231dcc95e1caf4944e2d","after":"48f9db4b841a72eb2a42377758477a201c64a0b4","ref":"refs/heads/main","pushedAt":"2023-05-09T07:07:53.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"Support for GPT-4","shortMessageHtmlLink":"Support for GPT-4"}},{"before":"ea87d4f2b213cc4fafca89d09422e49f7673271b","after":"185871cb6dac1c3eeac0231dcc95e1caf4944e2d","ref":"refs/heads/main","pushedAt":"2023-04-25T21:02:42.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"feat(examples): add LLaMACpp embedding and LLaMACpp LLM examples with model path\n\nfeat(LLaMACpp.php): add Embeddings implementation for LLaMACpp\n\nfeat(LLaMACpp.php): add 'embedding' option to the configuration array","shortMessageHtmlLink":"feat(examples): add LLaMACpp embedding and LLaMACpp LLM examples with…"}},{"before":"4d9ea91bf5fe6b23087d1bef6230bfb5762584e7","after":"48e189157da3d533aa90bf9a7e6f0d94821c77e5","ref":"refs/heads/add-llama-cpp-embeddings","pushedAt":"2023-04-25T20:15:37.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"feat(examples): add LLaMACpp embedding and LLaMACpp LLM examples with model path\n\nfeat(LLaMACpp.php): add Embeddings implementation for LLaMACpp\n\nfeat(LLaMACpp.php): add 'embedding' option to the configuration array","shortMessageHtmlLink":"feat(examples): add LLaMACpp embedding and LLaMACpp LLM examples with…"}},{"before":"ea87d4f2b213cc4fafca89d09422e49f7673271b","after":"4d9ea91bf5fe6b23087d1bef6230bfb5762584e7","ref":"refs/heads/add-llama-cpp-embeddings","pushedAt":"2023-04-25T20:11:58.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"refactor(LLaMACpp.php): import class_exists function from global namespace","shortMessageHtmlLink":"refactor(LLaMACpp.php): import class_exists function from global name…"}},{"before":null,"after":"ea87d4f2b213cc4fafca89d09422e49f7673271b","ref":"refs/heads/add-llama-cpp-embeddings","pushedAt":"2023-04-24T17:40:18.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"docs: add PHP specific documentation for LLaMaCpp LLM\nchore: remove 'docs' from .gitignore file","shortMessageHtmlLink":"docs: add PHP specific documentation for LLaMaCpp LLM"}},{"before":"e905273b99ec58375d525d56ff02c2912f406bed","after":null,"ref":"refs/heads/fix-readme","pushedAt":"2023-04-23T06:04:23.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"}},{"before":"2397ca02dfc0685d50b43ca760494ed77952200f","after":null,"ref":"refs/heads/fix-todos","pushedAt":"2023-04-23T06:04:18.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"}},{"before":"643c0c5791a2fb9a4734798c295dcaadfd0cdff6","after":"ea87d4f2b213cc4fafca89d09422e49f7673271b","ref":"refs/heads/main","pushedAt":"2023-04-23T06:03:48.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"docs: add PHP specific documentation for LLaMaCpp LLM\nchore: remove 'docs' from .gitignore file","shortMessageHtmlLink":"docs: add PHP specific documentation for LLaMaCpp LLM"}},{"before":"643c0c5791a2fb9a4734798c295dcaadfd0cdff6","after":"560b1cd0987136262b3a9aad459078ccea85a535","ref":"refs/heads/add-php-documentation","pushedAt":"2023-04-23T05:56:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"docs: add PHP specific documentation for LLaMaCpp LLM\nchore: remove 'docs' from .gitignore file","shortMessageHtmlLink":"docs: add PHP specific documentation for LLaMaCpp LLM"}},{"before":null,"after":"643c0c5791a2fb9a4734798c295dcaadfd0cdff6","ref":"refs/heads/add-php-documentation","pushedAt":"2023-04-23T05:55:26.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"feat(LLM.php): add abstract call method to LLM class\nfeat(llm-LLaMACpp.php): add example usage of LLaMACpp class with a prompt text\n\nfeat(LLaMACpp.php): add LLaMACpp class implementation with constructor, defaultParams, call, llmType, toArray, and getIdentifyingParams methods.","shortMessageHtmlLink":"feat(LLM.php): add abstract call method to LLM class"}},{"before":"9728e0238dd6591e1f6605d7c0dc53c1d07c1fd5","after":"643c0c5791a2fb9a4734798c295dcaadfd0cdff6","ref":"refs/heads/main","pushedAt":"2023-04-22T19:34:25.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"feat(LLM.php): add abstract call method to LLM class\nfeat(llm-LLaMACpp.php): add example usage of LLaMACpp class with a prompt text\n\nfeat(LLaMACpp.php): add LLaMACpp class implementation with constructor, defaultParams, call, llmType, toArray, and getIdentifyingParams methods.","shortMessageHtmlLink":"feat(LLM.php): add abstract call method to LLM class"}},{"before":"4739f115af7805199286554be906921e67decd4a","after":"a201bc91ad32a6e2db746ad4b0ec8e508f13e406","ref":"refs/heads/add-llama-cpp","pushedAt":"2023-04-22T19:28:16.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"feat(LLM.php): add abstract call method to LLM class\nfeat(llm-LLaMACpp.php): add example usage of LLaMACpp class with a prompt text\n\nfeat(LLaMACpp.php): add LLaMACpp class implementation with constructor, defaultParams, call, llmType, toArray, and getIdentifyingParams methods.","shortMessageHtmlLink":"feat(LLM.php): add abstract call method to LLM class"}},{"before":"9bd2e366ba0a15acf811612f087858913ea2736c","after":"4739f115af7805199286554be906921e67decd4a","ref":"refs/heads/add-llama-cpp","pushedAt":"2023-04-22T19:24:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"feat(README.md): add support for llama.cpp LLM\nfeat(llm-LLaMACpp.php): update model path to be more generic\n\nrefactor(LLaMACpp.php): change variable names to use camelCase convention and add comments to constructor parameters\n\nrefactor(LLaMACpp.php): change variable names to use camelCase convention and remove underscores\n\nrefactor(LLaMACpp.php): change variable names to follow camelCase convention and add docblocks to methods","shortMessageHtmlLink":"feat(README.md): add support for llama.cpp LLM"}},{"before":"9728e0238dd6591e1f6605d7c0dc53c1d07c1fd5","after":"9bd2e366ba0a15acf811612f087858913ea2736c","ref":"refs/heads/add-llama-cpp","pushedAt":"2023-04-22T16:18:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"feat(LLM.php): add abstract call method to LLM class\nfeat(llm-LLaMACpp.php): add example usage of LLaMACpp class with a prompt text\n\nfeat(LLaMACpp.php): add LLaMACpp class implementation with constructor, defaultParams, call, llmType, toArray, and getIdentifyingParams methods.","shortMessageHtmlLink":"feat(LLM.php): add abstract call method to LLM class"}},{"before":null,"after":"9728e0238dd6591e1f6605d7c0dc53c1d07c1fd5","ref":"refs/heads/add-llama-cpp","pushedAt":"2023-04-22T08:38:49.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"refactor(VectorDBQATest.php): improve readability of the template string by adding newlines and concatenation\n\nstyle(OpenAITest.php): use const PHP_EOL instead of hardcoded newline characters\nstyle(LengthBasedExampleSelectorTest.php): fix indentation and line breaks","shortMessageHtmlLink":"refactor(VectorDBQATest.php): improve readability of the template str…"}},{"before":"e6a15f54d22c1bd7eecf87741533813822c16dce","after":"9728e0238dd6591e1f6605d7c0dc53c1d07c1fd5","ref":"refs/heads/main","pushedAt":"2023-04-08T10:49:25.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"refactor(VectorDBQATest.php): improve readability of the template string by adding newlines and concatenation\n\nstyle(OpenAITest.php): use const PHP_EOL instead of hardcoded newline characters\nstyle(LengthBasedExampleSelectorTest.php): fix indentation and line breaks","shortMessageHtmlLink":"refactor(VectorDBQATest.php): improve readability of the template str…"}},{"before":"c3d5041431bbee9306cbb1d4a9e82673259c6c7c","after":"e905273b99ec58375d525d56ff02c2912f406bed","ref":"refs/heads/fix-readme","pushedAt":"2023-04-08T10:43:14.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"refactor(VectorDBQATest.php): improve readability of the template string by adding newlines and concatenation\n\nstyle(OpenAITest.php): use const PHP_EOL instead of hardcoded newline characters\nstyle(LengthBasedExampleSelectorTest.php): fix indentation and line breaks","shortMessageHtmlLink":"refactor(VectorDBQATest.php): improve readability of the template str…"}},{"before":"92a8cc773108beef07adf81f85dfee8ef5898398","after":"c3d5041431bbee9306cbb1d4a9e82673259c6c7c","ref":"refs/heads/fix-readme","pushedAt":"2023-04-08T10:37:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"style(VectorDBQATest.php): add PHP_EOL constant instead of \"\\n\" string literal for better cross-platform compatibility\ndocs(VectorDBQATest.php): add comments to clarify the purpose of the test and the template used","shortMessageHtmlLink":"style(VectorDBQATest.php): add PHP_EOL constant instead of \"\\n\" strin…"}},{"before":"e0724ad3e2e1efc822a14bda790bd09e53737640","after":"92a8cc773108beef07adf81f85dfee8ef5898398","ref":"refs/heads/fix-readme","pushedAt":"2023-04-08T10:33:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"refactor(VectorDBQATest.php): remove unused PHP_EOL constant\nstyle(VectorDBQATest.php): replace PHP_EOL with \"\\n\" for consistency and readability\n\nrefactor(OpenAITest.php): remove unused constant PHP_EOL and replace it with newline character \\n","shortMessageHtmlLink":"refactor(VectorDBQATest.php): remove unused PHP_EOL constant"}},{"before":"7fcc2530ebfcb231cf314d9daef2ceaf3e97647d","after":"e0724ad3e2e1efc822a14bda790bd09e53737640","ref":"refs/heads/fix-readme","pushedAt":"2023-04-08T10:27:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"refactor(VectorDBQATest.php): improve readability of the template string by adding newlines and concatenation\n\nstyle(OpenAITest.php): use const PHP_EOL instead of hardcoded newline characters\nstyle(LengthBasedExampleSelectorTest.php): fix indentation and line breaks","shortMessageHtmlLink":"refactor(VectorDBQATest.php): improve readability of the template str…"}},{"before":"e6a15f54d22c1bd7eecf87741533813822c16dce","after":"7fcc2530ebfcb231cf314d9daef2ceaf3e97647d","ref":"refs/heads/fix-readme","pushedAt":"2023-04-08T09:32:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"chore(README.md): update tests badge URL to reflect new repository location\ndocs(README.md): add link to original LangChain library in description","shortMessageHtmlLink":"chore(README.md): update tests badge URL to reflect new repository lo…"}},{"before":null,"after":"e6a15f54d22c1bd7eecf87741533813822c16dce","ref":"refs/heads/fix-readme","pushedAt":"2023-04-08T09:26:02.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"feat(composer.json): add psr/simple-cache dependency\n\nfeat(BaseLLM.php): add support for caching with CacheInterface in constructor options. Add shouldUseCache() and getResultsWithCache() methods.\n\nfeat(BaseLLM.php): add caching functionality to getResultsWithCache method\n\nfeat(BaseOpenAI.php): add support for CacheInterface in constructor\n\nrefactor(LLMs/LLMResult.php): add createFromCachedValues and merge methods\nrefactor(LLMs/OpenAIChat.php): pass config and callbackManager to parent constructor\nrefactor(Memory/BaseChatMemory.php): remove unnecessary comment and empty line\n\nchore(OpenAITest.php): add Kambo\\Langchain\\LLMs\\Generation import\nfeat(OpenAITest.php): add Psr\\SimpleCache\\CacheInterface import\n\ntest(OpenAITest.php): add tests for caching in OpenAI class\n\nrefactor(OpenAITest.php): add nullable cache parameter to mockOpenAIWithResponses method\n\nfeat(OpenAITest.php): add mockCache method to create a mock CacheInterface object for testing purposes","shortMessageHtmlLink":"feat(composer.json): add psr/simple-cache dependency"}},{"before":"214794bc831f98d663952172b285811a90ddedb1","after":"e6a15f54d22c1bd7eecf87741533813822c16dce","ref":"refs/heads/main","pushedAt":"2023-04-08T09:24:50.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"feat(composer.json): add psr/simple-cache dependency\n\nfeat(BaseLLM.php): add support for caching with CacheInterface in constructor options. Add shouldUseCache() and getResultsWithCache() methods.\n\nfeat(BaseLLM.php): add caching functionality to getResultsWithCache method\n\nfeat(BaseOpenAI.php): add support for CacheInterface in constructor\n\nrefactor(LLMs/LLMResult.php): add createFromCachedValues and merge methods\nrefactor(LLMs/OpenAIChat.php): pass config and callbackManager to parent constructor\nrefactor(Memory/BaseChatMemory.php): remove unnecessary comment and empty line\n\nchore(OpenAITest.php): add Kambo\\Langchain\\LLMs\\Generation import\nfeat(OpenAITest.php): add Psr\\SimpleCache\\CacheInterface import\n\ntest(OpenAITest.php): add tests for caching in OpenAI class\n\nrefactor(OpenAITest.php): add nullable cache parameter to mockOpenAIWithResponses method\n\nfeat(OpenAITest.php): add mockCache method to create a mock CacheInterface object for testing purposes","shortMessageHtmlLink":"feat(composer.json): add psr/simple-cache dependency"}},{"before":"3329cae001d8ddaa7c2c18968acf6699ce93f2ac","after":"2397ca02dfc0685d50b43ca760494ed77952200f","ref":"refs/heads/fix-todos","pushedAt":"2023-04-08T09:21:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"feat(composer.json): add psr/simple-cache dependency\n\nfeat(BaseLLM.php): add support for caching with CacheInterface in constructor options. Add shouldUseCache() and getResultsWithCache() methods.\n\nfeat(BaseLLM.php): add caching functionality to getResultsWithCache method\n\nfeat(BaseOpenAI.php): add support for CacheInterface in constructor\n\nrefactor(LLMs/LLMResult.php): add createFromCachedValues and merge methods\nrefactor(LLMs/OpenAIChat.php): pass config and callbackManager to parent constructor\nrefactor(Memory/BaseChatMemory.php): remove unnecessary comment and empty line\n\nchore(OpenAITest.php): add Kambo\\Langchain\\LLMs\\Generation import\nfeat(OpenAITest.php): add Psr\\SimpleCache\\CacheInterface import\n\ntest(OpenAITest.php): add tests for caching in OpenAI class\n\nrefactor(OpenAITest.php): add nullable cache parameter to mockOpenAIWithResponses method\n\nfeat(OpenAITest.php): add mockCache method to create a mock CacheInterface object for testing purposes","shortMessageHtmlLink":"feat(composer.json): add psr/simple-cache dependency"}},{"before":"214794bc831f98d663952172b285811a90ddedb1","after":"3329cae001d8ddaa7c2c18968acf6699ce93f2ac","ref":"refs/heads/fix-todos","pushedAt":"2023-04-07T20:53:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"refactor(Chain.php): implement toArray method as abstract method\nrefactor(BaseCombineDocumentsChain.php): change input_key and output_key to inputKey and outputKey respectively, and make them protected properties\n\nrefactor(CombineDocuments/StuffDocumentsChain.php, LLMChain.php): add toArray method to both classes\n\nrefactor(VectorDBQA.php): remove unused TODO comment\nfeat(VectorDBQA.php): add toArray method to convert object to array\n\nfeat(BaseLLM.php): add methods toArray, getIdentifyingParams, __toString, and save to BaseLLM class.\n\nrefactor(BaseOpenAI.php): rename identifyingParams method to getIdentifyingParams and add docblock\nfeat(BaseOpenAI.php): add toArray method to return identifying parameters\nfeat(OpenAIChat.php): add toArray method to return identifying parameters\nfeat(BaseChatMemory.php): add toArray method to return identifying parameters\n\nfeat(memory): add toArray method to BaseMemory interface\nfeat(conversationBufferWindowMemory): implement toArray method in ConversationBufferWindowMemory class\n\ntest(StuffDocumentsChainTest.php): add testToArray method to test StuffDocumentsChain's toArray method.\n\ntest(LLMChainTest.php): add test for toArray method in LLMChain class\n\ntest(VectorDBQATest.php): add testToArray method to test VectorDBQA chain's toArray method\n\nrefactor(VectorDBQATest.php): make $responses parameter optional in mockOpenAIWithResponses method\n\ntest(OpenAIChatTest.php): add test for toArray method in OpenAIChat class\n\nfeat(OpenAITest.php): add tests for save and toString methods in OpenAI class\n\nfeat(OpenAITest.php): add createTempFolder method to create a temporary folder with a random name and specified prefix and mode.\n\ntest(ConversationBufferWindowMemoryTest.php): add test for toArray method in ConversationBufferWindowMemory class","shortMessageHtmlLink":"refactor(Chain.php): implement toArray method as abstract method"}},{"before":null,"after":"214794bc831f98d663952172b285811a90ddedb1","ref":"refs/heads/fix-todos","pushedAt":"2023-04-07T20:52:12.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"feat(few-shot-example.php): add few-shot example with OpenAI LLMChain\nfix(BasePromptTemplate.php): fix array_intersect argument to use array_keys\n\nfeat(BaseExampleSelector.php): add abstract class BaseExampleSelector with addExample and selectExamples abstract methods.\n\nfeat(LengthBasedExampleSelector.php): add LengthBasedExampleSelector class to select examples based on length of input variables and examples.\n\nfeat(FewShotPromptTemplate.php): add FewShotPromptTemplate class with support for formatting examples into a prompt template.\n\nfeat(LengthBasedExampleSelectorTest.php): add tests for LengthBasedExampleSelector class\n\nfeat(FewShotPromptTemplateTest.php): add tests for FewShotPromptTemplate class functionality","shortMessageHtmlLink":"feat(few-shot-example.php): add few-shot example with OpenAI LLMChain"}},{"before":"75cdf605582819e655eec07f5d8e408c8d3ee1cf","after":null,"ref":"refs/heads/few-shot-prompt-template","pushedAt":"2023-04-07T18:10:38.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"}},{"before":"ebc18b2b7ff3cc59588d3a979c247657bbd3cc0c","after":"214794bc831f98d663952172b285811a90ddedb1","ref":"refs/heads/main","pushedAt":"2023-04-07T18:10:34.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kambo-1st","name":"Bohuslav Šimek","path":"/kambo-1st","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6493048?s=80&v=4"},"commit":{"message":"feat(few-shot-example.php): add few-shot example with OpenAI LLMChain\nfix(BasePromptTemplate.php): fix array_intersect argument to use array_keys\n\nfeat(BaseExampleSelector.php): add abstract class BaseExampleSelector with addExample and selectExamples abstract methods.\n\nfeat(LengthBasedExampleSelector.php): add LengthBasedExampleSelector class to select examples based on length of input variables and examples.\n\nfeat(FewShotPromptTemplate.php): add FewShotPromptTemplate class with support for formatting examples into a prompt template.\n\nfeat(LengthBasedExampleSelectorTest.php): add tests for LengthBasedExampleSelector class\n\nfeat(FewShotPromptTemplateTest.php): add tests for FewShotPromptTemplate class functionality","shortMessageHtmlLink":"feat(few-shot-example.php): add few-shot example with OpenAI LLMChain"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADLQgP0gA","startCursor":null,"endCursor":null}},"title":"Activity · kambo-1st/langchain-php"}