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.
- {olca-0.2.61 → olca-0.2.62}/PKG-INFO +1 -1
- {olca-0.2.61 → olca-0.2.62}/olca/olcacli.py +2 -1
- {olca-0.2.61 → olca-0.2.62}/olca.egg-info/PKG-INFO +1 -1
- {olca-0.2.61 → olca-0.2.62}/pyproject.toml +1 -1
- {olca-0.2.61 → olca-0.2.62}/setup.py +1 -1
- {olca-0.2.61 → olca-0.2.62}/LICENSE +0 -0
- {olca-0.2.61 → olca-0.2.62}/README.md +0 -0
- {olca-0.2.61 → olca-0.2.62}/olca/__init__.py +0 -0
- {olca-0.2.61 → olca-0.2.62}/olca/fusewill_cli.py +0 -0
- {olca-0.2.61 → olca-0.2.62}/olca/fusewill_utils.py +0 -0
- {olca-0.2.61 → olca-0.2.62}/olca/olcahelper.py +0 -0
- {olca-0.2.61 → olca-0.2.62}/olca/prompts.py +0 -0
- {olca-0.2.61 → olca-0.2.62}/olca/tracing.py +0 -0
- {olca-0.2.61 → olca-0.2.62}/olca/utils.py +0 -0
- {olca-0.2.61 → olca-0.2.62}/olca.egg-info/SOURCES.txt +0 -0
- {olca-0.2.61 → olca-0.2.62}/olca.egg-info/dependency_links.txt +0 -0
- {olca-0.2.61 → olca-0.2.62}/olca.egg-info/entry_points.txt +0 -0
- {olca-0.2.61 → olca-0.2.62}/olca.egg-info/requires.txt +0 -0
- {olca-0.2.61 → olca-0.2.62}/olca.egg-info/top_level.txt +0 -0
- {olca-0.2.61 → olca-0.2.62}/setup.cfg +0 -0
@@ -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)
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name='olca',
|
5
|
-
version = "0.2.
|
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
|
File without changes
|
File without changes
|