├── .gitignore ├── 1.LLMs └── 1_llm_demo.py ├── 2.ChatModels ├── 1_chatmodel_openai.py ├── 2_chatmodel_anthropic.py ├── 3_chatmodel_google.py ├── 4_chatmodel_hf_api.py └── 5_chatmodel_hf_local.py ├── 3.EmbeddingModels ├── 1_embedding_openai_query.py ├── 2_embedding_openai_docs.py ├── 3_embedding_hf_local.py └── 4_document_similarity.py ├── requirements.txt └── test.py /.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | venv -------------------------------------------------------------------------------- /1.LLMs/1_llm_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohanmistry231/langchain-models/HEAD/1.LLMs/1_llm_demo.py -------------------------------------------------------------------------------- /2.ChatModels/1_chatmodel_openai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohanmistry231/langchain-models/HEAD/2.ChatModels/1_chatmodel_openai.py -------------------------------------------------------------------------------- /2.ChatModels/2_chatmodel_anthropic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohanmistry231/langchain-models/HEAD/2.ChatModels/2_chatmodel_anthropic.py -------------------------------------------------------------------------------- /2.ChatModels/3_chatmodel_google.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohanmistry231/langchain-models/HEAD/2.ChatModels/3_chatmodel_google.py -------------------------------------------------------------------------------- /2.ChatModels/4_chatmodel_hf_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohanmistry231/langchain-models/HEAD/2.ChatModels/4_chatmodel_hf_api.py -------------------------------------------------------------------------------- /2.ChatModels/5_chatmodel_hf_local.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohanmistry231/langchain-models/HEAD/2.ChatModels/5_chatmodel_hf_local.py -------------------------------------------------------------------------------- /3.EmbeddingModels/1_embedding_openai_query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohanmistry231/langchain-models/HEAD/3.EmbeddingModels/1_embedding_openai_query.py -------------------------------------------------------------------------------- /3.EmbeddingModels/2_embedding_openai_docs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohanmistry231/langchain-models/HEAD/3.EmbeddingModels/2_embedding_openai_docs.py -------------------------------------------------------------------------------- /3.EmbeddingModels/3_embedding_hf_local.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohanmistry231/langchain-models/HEAD/3.EmbeddingModels/3_embedding_hf_local.py -------------------------------------------------------------------------------- /3.EmbeddingModels/4_document_similarity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohanmistry231/langchain-models/HEAD/3.EmbeddingModels/4_document_similarity.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohanmistry231/langchain-models/HEAD/requirements.txt -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohanmistry231/langchain-models/HEAD/test.py --------------------------------------------------------------------------------