olca 0.2.61__tar.gz → 0.2.62__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: olca
3
- Version: 0.2.61
3
+ Version: 0.2.62
4
4
  Summary: A Python package for experimental usage of Langchain and Human-in-the-Loop
5
5
  Home-page: https://github.com/jgwill/olca
6
6
  Author: Jean GUillaume ISabelle
@@ -56,7 +56,7 @@ dotenv.load_dotenv()
56
56
  # First we initialize the model we want to use.
57
57
  from json import load
58
58
  from langchain_openai import ChatOpenAI,OpenAI
59
- from langchain.agents import AgentExecutor, create_react_agent
59
+ #from langchain.agents import AgentExecutor, create_react_agent
60
60
 
61
61
  from langchain_community.agent_toolkits.load_tools import load_tools
62
62
 
@@ -239,6 +239,7 @@ def main():
239
239
  if provider == "ollama":
240
240
  from langchain_ollama import OllamaLLM
241
241
  model = OllamaLLM(model=base_model, base_url=host if host else None)
242
+
242
243
  elif provider == "openai":
243
244
  from langchain_openai import ChatOpenAI
244
245
  model = ChatOpenAI(model=base_model, temperature=0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: olca
3
- Version: 0.2.61
3
+ Version: 0.2.62
4
4
  Summary: A Python package for experimental usage of Langchain and Human-in-the-Loop
5
5
  Home-page: https://github.com/jgwill/olca
6
6
  Author: Jean GUillaume ISabelle
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "olca"
10
- version = "0.2.61"
10
+ version = "0.2.62"
11
11
 
12
12
  description = "A Python package for experimental usage of Langchain and Human-in-the-Loop"
13
13
  readme = "README.md"
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='olca',
5
- version = "0.2.61",
5
+ version = "0.2.62",
6
6
  author='Jean GUillaume ISabelle',
7
7
  author_email='jgi@jgwill.com',
8
8
  description='A Python package for experimenting with Langchain agent and interactivity in Terminal modalities.',
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes